aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.cpp
diff options
context:
space:
mode:
authorGregory Sanders <[email protected]>2018-10-03 14:40:47 +0900
committerGregory Sanders <[email protected]>2018-11-30 11:08:35 -0500
commit53dcf2b407f8a2b4ebe372a8f28b7ba073b9eda7 (patch)
treeea43c1ff3f5887abe355002750bad9ba02fd291e /src/wallet/wallet.cpp
parentMerge #14835: [0.17] Further Backports (diff)
downloaddiscoin-53dcf2b407f8a2b4ebe372a8f28b7ba073b9eda7.tar.xz
discoin-53dcf2b407f8a2b4ebe372a8f28b7ba073b9eda7.zip
Remove stale comment in CalculateMaximumSignedInputSize
Diffstat (limited to 'src/wallet/wallet.cpp')
-rw-r--r--src/wallet/wallet.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
index 1a14d7af0..2ad82b2e0 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -1607,8 +1607,6 @@ int CalculateMaximumSignedInputSize(const CTxOut& txout, const CWallet* wallet,
CMutableTransaction txn;
txn.vin.push_back(CTxIn(COutPoint()));
if (!wallet->DummySignInput(txn.vin[0], txout, use_max_sig)) {
- // This should never happen, because IsAllFromMe(ISMINE_SPENDABLE)
- // implies that we can sign for every input.
return -1;
}
return GetVirtualTransactionInputSize(txn.vin[0]);