Commit d7237af840af5788162ad23732aa30d1ae11c44e
Fix typos in Interface
Alex Beregszaszi committed on 8/3/2016, 11:16:29 PMParent: 13f28296e4b4782565f52674dd8be5afbc1f101b
Files changed
interface.js | changed |
interface.js | ||
---|---|---|
@@ -338,11 +338,11 @@ | ||
338 | 338 | * from Memory |
339 | 339 | * @param {interger} pathOffest the memory offset to load the the path from |
340 | 340 | * @param {interger} valueOffset the memory offset to load the value from |
341 | 341 | */ |
342 | - sstore (pathOffest, valueOffset) { | |
342 | + sstore (pathOffset, valueOffset) { | |
343 | 343 | const path = this.getMemory(pathOffset, 32).toString('hex') |
344 | - const value = this.getmemory(valueOffset, 32) | |
344 | + const value = this.getMemory(valueOffset, 32) | |
345 | 345 | const oldValue = this.environment.state.get(path) |
346 | 346 | const valIsZero = value.every((i) => i === 0) |
347 | 347 | |
348 | 348 | // write |
@@ -363,9 +363,9 @@ | ||
363 | 363 | * reterives a value at a given path in long term storage |
364 | 364 | * @param {interger} pathOffest the memory offset to load the the path from |
365 | 365 | * @param {interger} resultOffset the memory offset to load the value from |
366 | 366 | */ |
367 | - sload (pathOffest, resultOffset) { | |
367 | + sload (pathOffset, resultOffset) { | |
368 | 368 | const path = this.getMemory(pathOffset, 32).toString('hex') |
369 | 369 | const result = this.environment.state.get(path) |
370 | 370 | this.setMemory(resultOffset, 32, result) |
371 | 371 | } |
Built with git-ssb-web