File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
types/src/v28/raw_transactions Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,8 @@ impl SubmitPackageTxResultFees {
6161 . flatten ( ) ;
6262 let effective_includes = self
6363 . effective_includes
64- . iter ( )
64+ . unwrap_or_default ( )
65+ . into_iter ( )
6566 . map ( |s| s. parse :: < Wtxid > ( ) . map_err ( E :: EffectiveIncludes ) )
6667 . collect :: < Result < Vec < _ > , _ > > ( ) ?;
6768
Original file line number Diff line number Diff line change @@ -82,5 +82,5 @@ pub struct SubmitPackageTxResultFees {
8282 /// If [`Self::effective_fee_rate`] is provided, this holds the wtxid's of the transactions
8383 /// whose fees and vsizes are included in effective-feerate.
8484 #[ serde( rename = "effective-includes" ) ]
85- pub effective_includes : Vec < String > ,
85+ pub effective_includes : Option < Vec < String > > ,
8686}
You can’t perform that action at this time.
0 commit comments