should not be 0x prefixed

pull/1324/head^2
yann300 3 years ago
parent 605d443a6c
commit ea7a127af6
  1. 2
      libs/remix-debug/src/solidity-decoder/types/util.ts

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

Loading…
Cancel
Save