Fix linting errors
This commit is contained in:
parent
84365431d1
commit
9917e6c293
@ -422,7 +422,7 @@ func (sdb *builder) deletedOrUpdatedState(a, b trie.NodeIterator, diffPathsAtB m
|
|||||||
// if this node's path did not show up in diffPathsAtB
|
// if this node's path did not show up in diffPathsAtB
|
||||||
// that means the node at this path was deleted (or moved) in B
|
// that means the node at this path was deleted (or moved) in B
|
||||||
// emit an empty "removed" diff to signify as such
|
// emit an empty "removed" diff to signify as such
|
||||||
// emit emtpy "removed" diff for all storage nodes
|
// emit empty "removed" diff for all storage nodes
|
||||||
if _, ok := diffPathsAtB[common.Bytes2Hex(node.Path)]; !ok {
|
if _, ok := diffPathsAtB[common.Bytes2Hex(node.Path)]; !ok {
|
||||||
diff := types2.StateNode{
|
diff := types2.StateNode{
|
||||||
NodeType: types2.Removed,
|
NodeType: types2.Removed,
|
||||||
|
@ -74,10 +74,6 @@ var (
|
|||||||
common.Hex2Bytes("32575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b"),
|
common.Hex2Bytes("32575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b"),
|
||||||
slot3StorageValue,
|
slot3StorageValue,
|
||||||
})
|
})
|
||||||
slot0StorageLeafRootNode, _ = rlp.EncodeToBytes([]interface{}{
|
|
||||||
common.Hex2Bytes("20290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563"),
|
|
||||||
slot0StorageValue,
|
|
||||||
})
|
|
||||||
|
|
||||||
contractAccountAtBlock2, _ = rlp.EncodeToBytes(types.StateAccount{
|
contractAccountAtBlock2, _ = rlp.EncodeToBytes(types.StateAccount{
|
||||||
Nonce: 1,
|
Nonce: 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user