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
Peer add announces new block message num limit
[bytom/vapor.git]
/
database
/
account_store.go
diff --git
a/database/account_store.go
b/database/account_store.go
index
619dd8d
..
d050f49
100644
(file)
--- a/
database/account_store.go
+++ b/
database/account_store.go
@@
-314,7
+314,7
@@
func (store *AccountStore) ListControlPrograms() ([]*acc.CtrlProgram, error) {
return cps, nil
}
-// ListUTXOs
get utxos by accountID
+// ListUTXOs
list all utxos
func (store *AccountStore) ListUTXOs() ([]*acc.UTXO, error) {
utxoIter := store.db.IteratorPrefix(UTXOPrefix)
defer utxoIter.Release()