OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Wallet store test (#312)
[bytom/vapor.git]
/
database
/
wallet_store.go
diff --git
a/database/wallet_store.go
b/database/wallet_store.go
index
a0c2a36
..
c0bf9f9
100644
(file)
--- a/
database/wallet_store.go
+++ b/
database/wallet_store.go
@@
-190,7
+190,7
@@
func (store *WalletStore) DeleteWalletTransactions() {
}
}
}
}
-// DeleteWalletUTXOs delete all
tx
s in wallet
+// DeleteWalletUTXOs delete all
utxo
s in wallet
func (store *WalletStore) DeleteWalletUTXOs() {
batch := store.db.NewBatch()
if store.batch != nil {
func (store *WalletStore) DeleteWalletUTXOs() {
batch := store.db.NewBatch()
if store.batch != nil {
@@
-381,7
+381,6
@@
func (store *WalletStore) ListTransactions(accountID string, StartTxID string, c
annotatedTxs = append([]*query.AnnotatedTx{annotatedTx}, annotatedTxs...)
txNum--
}
annotatedTxs = append([]*query.AnnotatedTx{annotatedTx}, annotatedTxs...)
txNum--
}
-
}
return annotatedTxs, nil
}
return annotatedTxs, nil