Upgrade go-verkle to its IPA version (#24)

This commit is contained in:
Guillaume Ballet
2021-11-04 14:57:01 +01:00
parent 162780515a
commit 719bf47354
3 changed files with 20 additions and 27 deletions

View File

@ -1602,7 +1602,7 @@ func (bc *BlockChain) insertChain(chain types.Blocks, verifySeals, setHead bool)
receipts, logs, _, usedGas, err = bc.processor.Process(block, statedb, bc.vmConfig)
} else {
var leaves map[common.Hash]common.Hash
_, _, _, leaves, err = trie.DeserializeAndVerifyVerkleProof(block.Header().VerkleProof)
leaves, err = trie.DeserializeAndVerifyVerkleProof(block.Header().VerkleProof)
if err != nil {
return it.index, err
}