Skip to content

Commit 69ba572

Browse files
committed
Merge bitcoin/bitcoin#27180: doc: DummySignInput mention external signer
6fc5f4f doc: DummySignInput mention external signer (Sjors Provoost) Pull request description: Followups for #26032. So far nothing major. ACKs for top commit: ishaanam: ACK 6fc5f4f S3RK: ACK 6fc5f4f Tree-SHA512: e27edde9853487fe3eef8213f991aae3724f318bbbe0b11da23759879adaf9a31771e6ea0c30baaebca149032780b89b32aa540ff456ca3d5ec6adb0371749c6
2 parents 2de0559 + 6fc5f4f commit 69ba572

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wallet/wallet.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1648,8 +1648,8 @@ bool DummySignInput(const SigningProvider& provider, CTxIn &tx_in, const CTxOut
16481648
const CScript& scriptPubKey = txout.scriptPubKey;
16491649
SignatureData sigdata;
16501650

1651-
// Use max sig if watch only inputs were used or if this particular input is an external input
1652-
// to ensure a sufficient fee is attained for the requested feerate.
1651+
// Use max sig if watch only inputs were used, if this particular input is an external input,
1652+
// or if this wallet uses an external signer, to ensure a sufficient fee is attained for the requested feerate.
16531653
const bool use_max_sig = coin_control && (coin_control->fAllowWatchOnly || coin_control->IsExternalSelected(tx_in.prevout) || !can_grind_r);
16541654
if (!ProduceSignature(provider, use_max_sig ? DUMMY_MAXIMUM_SIGNATURE_CREATOR : DUMMY_SIGNATURE_CREATOR, scriptPubKey, sigdata)) {
16551655
return false;

0 commit comments

Comments
 (0)