From f06e6f648e07e889b932ff391e907bc9daf7a8b4 Mon Sep 17 00:00:00 2001 From: Gregory Sanders Date: Mon, 17 Dec 2018 17:11:06 -0500 Subject: [PATCH] Wallet offline_counter starts at -1 --- src/wallet/wallet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 2d8fbc9bfa..ab6bdfd2db 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -840,7 +840,7 @@ public: CExtPubKey offline_xpub; //! The derivation counter for offline_xpub - int offline_counter; + int offline_counter = -1; // END ELEMENTS const CWalletTx* GetWalletTx(const uint256& hash) const;