aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorgzhao408 <gzhao408@berkeley.edu>2020-05-01 17:22:59 -0700
committergzhao408 <gzhao408@berkeley.edu>2020-05-17 17:52:11 -0700
commitd16006960443c2efe37c896e46edae9dca86c57d (patch)
treecf8da9c04116cfc2b599a2b193c978ab9c6ba0a8 /src/wallet/wallet.h
parentdc5333d31f280e09bb1e8cdacfbe842f4ab9e69b (diff)
[wallet] remove nLastResend logic
remove nLastResend because it's unnecessary now that rebroadcasts always happen at least 12 hours later
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index a29fa22207..9d312e8ee5 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -641,7 +641,6 @@ private:
int nWalletMaxVersion GUARDED_BY(cs_wallet) = FEATURE_BASE;
int64_t nNextResend = 0;
- int64_t nLastResend = 0;
bool fBroadcastTransactions = false;
// Local time that the tip block was received. Used to schedule wallet rebroadcasts.
std::atomic<int64_t> m_best_block_time {0};