fix logging bug

This commit is contained in:
Jonathan "Duke" Leto
2022-09-03 16:22:43 -07:00
parent 0865579e54
commit 3327b25a28

View File

@@ -3123,7 +3123,7 @@ std::vector<uint256> CWallet::ResendWalletTransactionsBefore(int64_t nTime)
// Do not relay expired transactions, to avoid other nodes banning us
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", __func__, wtx.GetHash().ToString().c_str() );
// TODO: should we call EraseFromWallet(wtx) right here?
continue;
}