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
add more func
[bytom/vapor.git]
/
protocol
/
state
/
consensus_result.go
diff --git
a/protocol/state/consensus_result.go
b/protocol/state/consensus_result.go
index
e4fa0f0
..
85b812a
100644
(file)
--- a/
protocol/state/consensus_result.go
+++ b/
protocol/state/consensus_result.go
@@
-263,7
+263,7
@@
func (c *ConsensusResult) DetachCoinbaseReward(block *types.Block) error {
}
if c.CoinbaseReward[program] == 0 {
-
//
delete(c.CoinbaseReward, program)
+ delete(c.CoinbaseReward, program)
}
if block.Height%consensus.ActiveNetParams.RoundVoteBlockNums == 1 {