From 2fb234c68fbddeac6bcb9336a1e129b9fdceca8b Mon Sep 17 00:00:00 2001 From: Wilmer Paulino Date: Fri, 2 Nov 2018 18:43:22 -0700 Subject: [PATCH] wtxmgr: remove old migration logic In this commit, we remove the old upgrade/migration logic of the transaction manager as it's been superseded by the new approach using the migration.Manager interface. --- wtxmgr/tx.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/wtxmgr/tx.go b/wtxmgr/tx.go index 0b232ea..b69142f 100644 --- a/wtxmgr/tx.go +++ b/wtxmgr/tx.go @@ -140,14 +140,6 @@ type Store struct { NotifyUnspent func(hash *chainhash.Hash, index uint32) } -// DoUpgrades performs any necessary upgrades to the transaction history -// contained in the wallet database, namespaced by the top level bucket key -// namespaceKey. -func DoUpgrades(db walletdb.DB, namespaceKey []byte) error { - // No upgrades - return nil -} - // Open opens the wallet transaction store from a walletdb namespace. If the // store does not exist, ErrNoExist is returned. func Open(ns walletdb.ReadBucket, chainParams *chaincfg.Params) (*Store, error) {