From c3041593b0559192db933d939a16764cc3c6823c Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Thu, 22 Sep 2022 12:16:22 +0000 Subject: [PATCH] `deletedMerkleValueBytes` -> `deletedMerkleValue` --- lib/trie/trie.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/trie/trie.go b/lib/trie/trie.go index 17db060955..96e9c9192e 100644 --- a/lib/trie/trie.go +++ b/lib/trie/trie.go @@ -101,9 +101,9 @@ func updateGeneration(currentNode *Node, trieGeneration uint64, // The hash of the node from a previous snapshotted trie // is usually already computed. - deletedMerkleValueBytes := currentNode.MerkleValue - if len(deletedMerkleValueBytes) > 0 { - deletedMerkleValueString := string(deletedMerkleValueBytes) + deletedMerkleValue := currentNode.MerkleValue + if len(deletedMerkleValue) > 0 { + deletedMerkleValueString := string(deletedMerkleValue) deletedMerkleValues[deletedMerkleValueString] = struct{}{} }