Skip to content

Commit

Permalink
Remove stale comment in CalculateMaximumSignedInputSize
Browse files Browse the repository at this point in the history
  • Loading branch information
instagibbs committed Nov 12, 2018
1 parent 90c0b6a commit b06483c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/wallet/wallet.cpp
Expand Up @@ -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]);
Expand Down

0 comments on commit b06483c

Please sign in to comment.