From 4d0017a7416b94547f291a2969edde2965dcc53b Mon Sep 17 00:00:00 2001 From: Chengcheng Zhang <943420582@qq.com> Date: Mon, 1 Jul 2019 23:12:48 +0800 Subject: [PATCH] update --- database/wallet_store.go | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/database/wallet_store.go b/database/wallet_store.go index d6ecb88e..2c8fcf78 100644 --- a/database/wallet_store.go +++ b/database/wallet_store.go @@ -562,19 +562,3 @@ func (store *WalletStore) SetWalletInfo(rawWallet []byte) { store.batch.Set([]byte(WalletKey), rawWallet) } } - -func findTransactionsByAccount(annotatedTx *query.AnnotatedTx, accountID string) bool { - for _, input := range annotatedTx.Inputs { - if input.AccountID == accountID { - return true - } - } - - for _, output := range annotatedTx.Outputs { - if output.AccountID == accountID { - return true - } - } - - return false -} -- 2.11.0