@@ -223,7 +223,7 @@ class ScriptPubKeyMan
223223 /* * Sign a message with the given script */
224224 virtual SigningResult SignMessage (const std::string& message, const PKHash& pkhash, std::string& str_sig) const { return SigningResult::SIGNING_FAILED; };
225225 /* * Adds script and derivation path information to a PSBT, and optionally signs it. */
226- virtual TransactionError FillPSBT (PartiallySignedTransaction& psbt, const PrecomputedTransactionData& txdata, int sighash_type = 1 /* SIGHASH_ALL */ , bool sign = true , bool bip32derivs = false , int * n_signed = nullptr ) const { return TransactionError::INVALID_PSBT; }
226+ virtual TransactionError FillPSBT (PartiallySignedTransaction& psbt, const PrecomputedTransactionData& txdata, int sighash_type = 1 /* SIGHASH_ALL */ , bool sign = true , bool bip32derivs = false , int * n_signed = nullptr , bool finalize = true ) const { return TransactionError::INVALID_PSBT; }
227227
228228 virtual uint256 GetID () const { return uint256 (); }
229229
@@ -387,7 +387,7 @@ class LegacyScriptPubKeyMan : public ScriptPubKeyMan, public FillableSigningProv
387387
388388 bool SignTransaction (CMutableTransaction& tx, const std::map<COutPoint, Coin>& coins, int sighash, std::map<int , bilingual_str>& input_errors) const override ;
389389 SigningResult SignMessage (const std::string& message, const PKHash& pkhash, std::string& str_sig) const override ;
390- TransactionError FillPSBT (PartiallySignedTransaction& psbt, const PrecomputedTransactionData& txdata, int sighash_type = 1 /* SIGHASH_ALL */ , bool sign = true , bool bip32derivs = false , int * n_signed = nullptr ) const override ;
390+ TransactionError FillPSBT (PartiallySignedTransaction& psbt, const PrecomputedTransactionData& txdata, int sighash_type = 1 /* SIGHASH_ALL */ , bool sign = true , bool bip32derivs = false , int * n_signed = nullptr , bool finalize = true ) const override ;
391391
392392 uint256 GetID () const override ;
393393
@@ -592,7 +592,7 @@ class DescriptorScriptPubKeyMan : public ScriptPubKeyMan
592592
593593 bool SignTransaction (CMutableTransaction& tx, const std::map<COutPoint, Coin>& coins, int sighash, std::map<int , bilingual_str>& input_errors) const override ;
594594 SigningResult SignMessage (const std::string& message, const PKHash& pkhash, std::string& str_sig) const override ;
595- TransactionError FillPSBT (PartiallySignedTransaction& psbt, const PrecomputedTransactionData& txdata, int sighash_type = 1 /* SIGHASH_ALL */ , bool sign = true , bool bip32derivs = false , int * n_signed = nullptr ) const override ;
595+ TransactionError FillPSBT (PartiallySignedTransaction& psbt, const PrecomputedTransactionData& txdata, int sighash_type = 1 /* SIGHASH_ALL */ , bool sign = true , bool bip32derivs = false , int * n_signed = nullptr , bool finalize = true ) const override ;
596596
597597 uint256 GetID () const override ;
598598
0 commit comments