git ssb

0+

wanderer🌟 / js-primea-hypervisor



Commit d7237af840af5788162ad23732aa30d1ae11c44e

Fix typos in Interface

Alex Beregszaszi committed on 8/3/2016, 11:16:29 PM
Parent: 13f28296e4b4782565f52674dd8be5afbc1f101b

Files changed

interface.jschanged
interface.jsView
@@ -338,11 +338,11 @@
338338 * from Memory
339339 * @param {interger} pathOffest the memory offset to load the the path from
340340 * @param {interger} valueOffset the memory offset to load the value from
341341 */
342- sstore (pathOffest, valueOffset) {
342+ sstore (pathOffset, valueOffset) {
343343 const path = this.getMemory(pathOffset, 32).toString('hex')
344- const value = this.getmemory(valueOffset, 32)
344+ const value = this.getMemory(valueOffset, 32)
345345 const oldValue = this.environment.state.get(path)
346346 const valIsZero = value.every((i) => i === 0)
347347
348348 // write
@@ -363,9 +363,9 @@
363363 * reterives a value at a given path in long term storage
364364 * @param {interger} pathOffest the memory offset to load the the path from
365365 * @param {interger} resultOffset the memory offset to load the value from
366366 */
367- sload (pathOffest, resultOffset) {
367+ sload (pathOffset, resultOffset) {
368368 const path = this.getMemory(pathOffset, 32).toString('hex')
369369 const result = this.environment.state.get(path)
370370 this.setMemory(resultOffset, 32, result)
371371 }

Built with git-ssb-web