Skip to content

Commit

Permalink
Merge pull request DNAProject#9 from laizy/revert_print
Browse files Browse the repository at this point in the history
fix compile error
  • Loading branch information
Arbio5zt authored Jul 4, 2018
2 parents 5292956 + 2af5e92 commit e9e91b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/ledger/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func (b *Block) GetPrograms() []*program.Program {

func (b *Block) Hash() Uint256 {
if b.hash == nil {
hash = b.Blockdata.Hash()
hash := b.Blockdata.Hash()
b.hash = &hash
}
return *b.hash
Expand Down

0 comments on commit e9e91b9

Please sign in to comment.