Statediffing #5

Closed
elizabethengelman wants to merge 122 commits from statediff-for-archive-node into master
Showing only changes of commit b3be9b7cd8 - Show all commits

View File

@ -257,7 +257,9 @@ func (w *ledgerDriver) ledgerDerive(derivationPath []uint32) (common.Address, er
// Decode the hex sting into an Ethereum address and return
var address common.Address
hex.Decode(address[:], hexstr)
if _, err = hex.Decode(address[:], hexstr); err != nil {
return common.Address{}, err
}
return address, nil
}