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:
1e64282
)
update
author
Chengcheng Zhang
<943420582@qq.com>
Wed, 3 Jul 2019 01:47:15 +0000
(09:47 +0800)
committer
Chengcheng Zhang
<943420582@qq.com>
Wed, 3 Jul 2019 01:47:15 +0000
(09:47 +0800)
wallet/unconfirmed.go
patch
|
blob
|
history
diff --git
a/wallet/unconfirmed.go
b/wallet/unconfirmed.go
index
8e58ec4
..
399b333
100644
(file)
--- a/
wallet/unconfirmed.go
+++ b/
wallet/unconfirmed.go
@@
-112,7
+112,7
@@
func (w *Wallet) checkRelatedTransaction(tx *types.Tx) bool {
for _, v := range tx.Outputs {
var hash [32]byte
sha3pool.Sum256(hash[:], v.ControlProgram())
- cp, err := w.
store
.GetControlProgram(bc.NewHash(hash))
+ cp, err := w.
AccountMgr
.GetControlProgram(bc.NewHash(hash))
if err != nil {
log.WithFields(log.Fields{"module": logModule, "err": err, "hash": string(hash[:])}).Error("checkRelatedTransaction fail.")
continue