From bbb5a6c058ed84c5ddfac73879b9bedbe110319a Mon Sep 17 00:00:00 2001 From: Wilmer Paulino Date: Thu, 21 Jun 2018 17:48:27 -0700 Subject: [PATCH] wallet: remove the need to set the birthday for bitcoind chain clients Due to the previous commit allowing us to specify the birthday of the wallet at the time of the BitcoindClient's creation, this is now unnecessary. --- wallet/wallet.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/wallet/wallet.go b/wallet/wallet.go index a9948ec..8411494 100644 --- a/wallet/wallet.go +++ b/wallet/wallet.go @@ -173,8 +173,6 @@ func (w *Wallet) SynchronizeRPC(chainClient chain.Interface) { switch cc := chainClient.(type) { case *chain.NeutrinoClient: cc.SetStartTime(w.Manager.Birthday()) - case *chain.BitcoindClient: - cc.SetStartTime(w.Manager.Birthday()) } w.chainClientLock.Unlock()