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
add GetTransactions GetAllUnconfirmedTxs
[bytom/vapor.git]
/
wallet
/
unconfirmed.go
diff --git
a/wallet/unconfirmed.go
b/wallet/unconfirmed.go
index
4eec6a2
..
dc09c34
100644
(file)
--- a/
wallet/unconfirmed.go
+++ b/
wallet/unconfirmed.go
@@
-50,6
+50,7
@@
func (w *Wallet) GetUnconfirmedTxs(accountID string) ([]*query.AnnotatedTx, erro
txIter := w.DB.IteratorPrefix([]byte(UnconfirmedTxPrefix))
defer txIter.Release()
+ // replace with GetAllUnconfirmedTxs
for txIter.Next() {
annotatedTx := &query.AnnotatedTx{}
if err := json.Unmarshal(txIter.Value(), &annotatedTx); err != nil {