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

pull/4428/head
vuittont60 10 months ago committed by Aniket
parent b96b1a8864
commit 331fcaf8fc
  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