mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-13 19:50:43 +02:00
Remove stale comment in CalculateMaximumSignedInputSize
This commit is contained in:
parent
90c0b6aca2
commit
b06483c96a
@ -1530,8 +1530,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…
Reference in New Issue
Block a user