Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
rm deadcode
Browse files Browse the repository at this point in the history
  • Loading branch information
ChihChengLiang committed Sep 12, 2023
1 parent 63cba13 commit 6918be5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions mpt-witness-generator/witness/leaf.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 6918be5

Please sign in to comment.