File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -239,17 +239,12 @@ class ParticlWallet<T extends ElectrumXCurrencyInterface>
239239 addresses.addAll (prevOut.addresses);
240240 }
241241
242- InputV2 input = InputV2 .isarCantDoRequiredInDefaultConstructor (
243- scriptSigHex: map["scriptSig" ]? ["hex" ] as String ? ,
244- scriptSigAsm: map["scriptSig" ]? ["asm" ] as String ? ,
245- sequence: map["sequence" ] as int ? ,
242+ InputV2 input = InputV2 .fromElectrumxJson (
243+ json: map,
246244 outpoint: outpoint,
247- valueStringSats: valueStringSats,
248245 addresses: addresses,
249- witness : map[ "witness" ] as String ? ,
246+ valueStringSats : valueStringSats ,
250247 coinbase: coinbase,
251- innerRedeemScriptAsm: map["innerRedeemscriptAsm" ] as String ? ,
252- // Need addresses before we can know if the wallet owns this input.
253248 walletOwns: false ,
254249 );
255250
You can’t perform that action at this time.
0 commit comments