This commit is contained in:
ericxtheodore 2025-07-29 17:58:25 +08:00 committed by GitHub
parent f7eae65763
commit cd09948040
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -79,7 +79,7 @@ func (t transientStorage) PrettyPrint() string {
for _, addr := range sortedAddrs {
fmt.Fprintf(out, "%#x:", addr)
storage := t[addr]
sortedKeys = make([]common.Hash, 0, len(storage))
sortedKeys := make([]common.Hash, 0, len(storage))
for key := range storage {
sortedKeys = append(sortedKeys, key)
}