OSDN Git Service
(root)
/
bytom
/
vapor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffa04e2
)
update
author
Chengcheng Zhang
<943420582@qq.com>
Mon, 1 Jul 2019 15:12:48 +0000
(23:12 +0800)
committer
Chengcheng Zhang
<943420582@qq.com>
Mon, 1 Jul 2019 15:12:48 +0000
(23:12 +0800)
database/wallet_store.go
patch
|
blob
|
history
diff --git
a/database/wallet_store.go
b/database/wallet_store.go
index
d6ecb88
..
2c8fcf7
100644
(file)
--- 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
-}