Skip to content

Commit b06483c

Browse files
committed
Remove stale comment in CalculateMaximumSignedInputSize
1 parent 90c0b6a commit b06483c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/wallet/wallet.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1530,8 +1530,6 @@ int CalculateMaximumSignedInputSize(const CTxOut& txout, const CWallet* wallet,
15301530
CMutableTransaction txn;
15311531
txn.vin.push_back(CTxIn(COutPoint()));
15321532
if (!wallet->DummySignInput(txn.vin[0], txout, use_max_sig)) {
1533-
// This should never happen, because IsAllFromMe(ISMINE_SPENDABLE)
1534-
// implies that we can sign for every input.
15351533
return -1;
15361534
}
15371535
return GetVirtualTransactionInputSize(txn.vin[0]);

0 commit comments

Comments
 (0)