Fix compile error
This commit is contained in:
@@ -3122,7 +3122,7 @@ std::vector<uint256> CWallet::ResendWalletTransactionsBefore(int64_t nTime)
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
// Do not relay expired transactions, to avoid other nodes banning us
|
// Do not relay expired transactions, to avoid other nodes banning us
|
||||||
if (wtx.nExpiryHeight > 0 && wtx.nExpiryHeight < chainActive.LastTip->GetHeight()) {
|
if (wtx.nExpiryHeight > 0 && wtx.nExpiryHeight < chainActive.LastTip()->GetHeight()) {
|
||||||
fprintf(stderr,"%s: ignoring expired tx %s\n", wtx.GetHash().ToString().c_str() );
|
fprintf(stderr,"%s: ignoring expired tx %s\n", wtx.GetHash().ToString().c_str() );
|
||||||
// TODO: should we call EraseFromWallet(wtx) right here?
|
// TODO: should we call EraseFromWallet(wtx) right here?
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user