OSDN Git Service
(root)
/
bytom
/
bytom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92566a3
)
fix vote hash with state (#1929)
2.0.0-alpha
author
boomyl
<563807243@qq.com>
Fri, 30 Apr 2021 07:39:25 +0000
(15:39 +0800)
committer
GitHub
<noreply@github.com>
Fri, 30 Apr 2021 07:39:25 +0000
(15:39 +0800)
protocol/bc/vote_output.go
patch
|
blob
|
history
diff --git
a/protocol/bc/vote_output.go
b/protocol/bc/vote_output.go
index
ede1565
..
793ee86
100644
(file)
--- a/
protocol/bc/vote_output.go
+++ b/
protocol/bc/vote_output.go
@@
-7,6
+7,7
@@
func (o *VoteOutput) writeForHash(w io.Writer) {
mustWriteForHash(w, o.Source)
mustWriteForHash(w, o.ControlProgram)
mustWriteForHash(w, o.Vote)
+ mustWriteForHash(w, o.StateData)
}
// NewCrossChainOutput creates a new CrossChainOutput.