From 6918be51a9b7399952d31b94b3fc80ac27dbd275 Mon Sep 17 00:00:00 2001 From: ChihChengLiang Date: Fri, 8 Sep 2023 00:56:33 +0800 Subject: [PATCH] rm deadcode --- mpt-witness-generator/witness/leaf.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/mpt-witness-generator/witness/leaf.go b/mpt-witness-generator/witness/leaf.go index 39f36be95e..b22ae4c85d 100644 --- a/mpt-witness-generator/witness/leaf.go +++ b/mpt-witness-generator/witness/leaf.go @@ -446,11 +446,6 @@ func prepareStorageLeafInfo(row []byte, valueIsZero, isPlaceholder bool) ([]byte setValue(keyLen, offset) } else { // [196,130,32,0,1] - /* - keyLen := row[1] - 128 - copy(key, row[:keyLen+2]) - copy(value, row[keyLen+2:]) - */ keyRlpLen = 1 keyLen := row[1] - 128 keyRlp = row[:keyRlpLen]