aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSjors Provoost <sjors@sprovoost.nl>2023-03-01 09:02:55 +0000
committerSjors Provoost <sjors@sprovoost.nl>2023-03-01 11:44:53 +0000
commit6fc5f4fdb661eb9d42842227501106afcf7111e7 (patch)
treeb7a35bb399abe37dc590fe57994e6d12edf42c29
parentcb40639bdf04bab31bcdceb3bf941e9bade8317a (diff)
doc: DummySignInput mention external signer
-rw-r--r--src/wallet/wallet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
index e5c03849af..61851ce4ba 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -1648,8 +1648,8 @@ bool DummySignInput(const SigningProvider& provider, CTxIn &tx_in, const CTxOut
const CScript& scriptPubKey = txout.scriptPubKey;
SignatureData sigdata;
- // Use max sig if watch only inputs were used or if this particular input is an external input
- // to ensure a sufficient fee is attained for the requested feerate.
+ // Use max sig if watch only inputs were used, if this particular input is an external input,
+ // or if this wallet uses an external signer, to ensure a sufficient fee is attained for the requested feerate.
const bool use_max_sig = coin_control && (coin_control->fAllowWatchOnly || coin_control->IsExternalSelected(tx_in.prevout) || !can_grind_r);
if (!ProduceSignature(provider, use_max_sig ? DUMMY_MAXIMUM_SIGNATURE_CREATOR : DUMMY_SIGNATURE_CREATOR, scriptPubKey, sigdata)) {
return false;