aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorGregory Sanders <gsanders87@gmail.com>2018-10-03 14:40:47 +0900
committerGregory Sanders <gsanders87@gmail.com>2018-11-12 13:10:54 -0500
commitb06483c96a83af3f7721d01c4cafe3edf5909552 (patch)
treef69c1e9ce5aac93ae5bd72d9db5029b181cd9fd1 /src/wallet
parent90c0b6aca2da0e15bd0575d583a167723f9cebed (diff)
downloadbitcoin-b06483c96a83af3f7721d01c4cafe3edf5909552.tar.xz
Remove stale comment in CalculateMaximumSignedInputSize
Diffstat (limited to 'src/wallet')
-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 8ea4c5c495..79e3b5b22b 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -1530,8 +1530,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]);