Skip to content

Commit 6fc5f4f

Browse files
committed
doc: DummySignInput mention external signer
1 parent cb40639 commit 6fc5f4f

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)