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
Small edit (#241)
[bytom/vapor.git]
/
protocol
/
state
/
vote_result.go
diff --git
a/protocol/state/vote_result.go
b/protocol/state/vote_result.go
index
6a434c8
..
7ea2a82
100644
(file)
--- a/
protocol/state/vote_result.go
+++ b/
protocol/state/vote_result.go
@@
-75,7
+75,7
@@
func (v *VoteResult) ApplyBlock(block *types.Block) error {
}
for _, output := range tx.Outputs {
}
for _, output := range tx.Outputs {
- voteOutput, ok := output.TypedOutput.(*types.Vote
Tx
Output)
+ voteOutput, ok := output.TypedOutput.(*types.VoteOutput)
if !ok {
continue
}
if !ok {
continue
}
@@
-148,7
+148,7
@@
func (v *VoteResult) DetachBlock(block *types.Block) error {
}
for _, output := range tx.Outputs {
}
for _, output := range tx.Outputs {
- voteOutput, ok := output.TypedOutput.(*types.Vote
Tx
Output)
+ voteOutput, ok := output.TypedOutput.(*types.VoteOutput)
if !ok {
continue
}
if !ok {
continue
}