OSDN Git Service

optimise
authoroysheng <oysheng@bytom.io>
Mon, 7 May 2018 07:21:34 +0000 (15:21 +0800)
committeroysheng <oysheng@bytom.io>
Mon, 7 May 2018 07:21:34 +0000 (15:21 +0800)
node/node.go

index eccb058..e864e52 100644 (file)
@@ -116,8 +116,6 @@ func NewNode(config *cfg.Config) *Node {
 
                // Clean up expired UTXO reservations periodically.
                go accounts.ExpireReservations(ctx, expireReservationsPeriod)
-       } else if config.Wallet.Rescan {
-               log.Info("Failed to start rescan wallet because wallet is disable")
        }
        newBlockCh := make(chan *bc.Hash, maxNewBlockChSize)