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 9, 2023
1 parent 0ba9002 commit a1c85b3
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 a1c85b3

Please sign in to comment.