should not be 0x prefixed

pull/5370/head
yann300 4 years ago
parent 59af95b921
commit 83c7d42be8
  1. 2
      libs/remix-debug/src/solidity-decoder/types/util.ts

@ -48,7 +48,7 @@ export async function extractHexValue (location, storageResolver, byteLength) {
try {
slotvalue = await readFromStorage(location.slot, storageResolver)
} catch (e) {
return '0x'
return ''
}
return extractHexByteSlice(slotvalue, byteLength, location.offset)
}

Loading…
Cancel
Save