Remove stale comment in CalculateMaximumSignedInputSize
This commit is contained in:
parent
d8bc0ce1da
commit
53dcf2b407
1 changed files with 0 additions and 2 deletions
|
@ -1607,8 +1607,6 @@ int CalculateMaximumSignedInputSize(const CTxOut& txout, const CWallet* wallet,
|
||||||
CMutableTransaction txn;
|
CMutableTransaction txn;
|
||||||
txn.vin.push_back(CTxIn(COutPoint()));
|
txn.vin.push_back(CTxIn(COutPoint()));
|
||||||
if (!wallet->DummySignInput(txn.vin[0], txout, use_max_sig)) {
|
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 -1;
|
||||||
}
|
}
|
||||||
return GetVirtualTransactionInputSize(txn.vin[0]);
|
return GetVirtualTransactionInputSize(txn.vin[0]);
|
||||||
|
|
Loading…
Add table
Reference in a new issue