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:
4ffceeb
)
update
author
Chengcheng Zhang
<943420582@qq.com>
Wed, 3 Jul 2019 01:46:03 +0000
(09:46 +0800)
committer
Chengcheng Zhang
<943420582@qq.com>
Wed, 3 Jul 2019 01:46:03 +0000
(09:46 +0800)
wallet/annotated.go
patch
|
blob
|
history
diff --git
a/wallet/annotated.go
b/wallet/annotated.go
index
b6b9290
..
b520759
100644
(file)
--- a/
wallet/annotated.go
+++ b/
wallet/annotated.go
@@
-98,7
+98,7
@@
func (w *Wallet) annotateTxsAccount(txs []*query.AnnotatedTx) {
func (w *Wallet) getAccountFromACP(program []byte) (*account.Account, error) {
var hash [32]byte
sha3pool.Sum256(hash[:], program)
- accountCP, err := w.
store
.GetControlProgram(bc.NewHash(hash))
+ accountCP, err := w.
AccountMgr
.GetControlProgram(bc.NewHash(hash))
if err != nil {
return nil, err
}