Skip to content

Commit

Permalink
fix: redeclare variable
Browse files Browse the repository at this point in the history
  • Loading branch information
gballet committed Jan 15, 2022
1 parent 76c7813 commit 17d1d09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/chain_makers.go
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ func GenerateVerkleChain(config *params.ChainConfig, parent *types.Block, engine
}
}
vtr.Hash()
_, err := vtr.ProveAndSerialize(keys, statedb.Witness().KeyVals())
p, err := vtr.ProveAndSerialize(keys, statedb.Witness().KeyVals())
block.SetVerkleProof(p)
if err != nil {
panic(err)
Expand Down

0 comments on commit 17d1d09

Please sign in to comment.