Skip to content

Commit 109cb6f

Browse files
committed
stateless: fix bug in proving non-existing storage keys
1 parent 8da663a commit 109cb6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/stateless.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export class HookedStateManager extends StateManager {
6060
super.getContractStorage(addr, key, (err: Error, value: any) => {
6161
const addrS = addr.toString('hex')
6262
const keyS = key.toString('hex')
63-
if (err || value.length === 0) {
63+
if (err) {
6464
return cb(err, value)
6565
}
6666

0 commit comments

Comments
 (0)