git ssb

0+

wanderer🌟 / js-primea-hypervisor



Commit c4e8c0c1c6d56c2694855ab10d0fc01edaf3c2c5

Interface: pad balances to 128 bits (and not 256 bits)

Alex Beregszaszi committed on 8/16/2016, 10:33:48 PM
Parent: dc345a6b3c23a49b736a6ae85494f4e5be6fb17d

Files changed

interface.jschanged
interface.jsView
@@ -121,9 +121,9 @@
121121 * this execution and loads it into memory at the given location.
122122 * @param {integer} offset
123123 */
124124 callValue (offset) {
125- this.setMemory(offset, constants.BALANCE_SIZE_BYTES, this.environment.callValue.toBuffer())
125+ this.setMemory(offset, constants.BALANCE_SIZE_BYTES, this.environment.callValue.toBuffer(constants.BALANCE_SIZE_BYTES))
126126 }
127127
128128 /**
129129 * Get size of input data in current environment. This pertains to the input

Built with git-ssb-web