fix typo libs/remix-debug/src/solidity-decoder/types/Mapping.ts

pull/5370/head
vuittont60 11 months ago committed by Aniket
parent 5c444cac40
commit fec80f57d1
  1. 2
      libs/remix-debug/src/solidity-decoder/types/Mapping.ts

@ -62,7 +62,7 @@ export class Mapping extends RefType {
} }
function getMappingLocation (key, position) { function getMappingLocation (key, position) {
// mapping storage location decribed at http://solidity.readthedocs.io/en/develop/miscellaneous.html#layout-of-state-variables-in-storage // mapping storage location described at http://solidity.readthedocs.io/en/develop/miscellaneous.html#layout-of-state-variables-in-storage
// > the value corresponding to a mapping key k is located at keccak256(k . p) where . is concatenation. // > the value corresponding to a mapping key k is located at keccak256(k . p) where . is concatenation.
// key should be a hex string, and position an int // key should be a hex string, and position an int

Loading…
Cancel
Save