git ssb

0+

wanderer🌟 / js-primea-hypervisor



Commit 75c73cf778a32316679e669b47a9b5ce085b8587

Blockhash is 256 bits

Alex Beregszaszi committed on 8/3/2016, 7:34:48 PM
Parent: 0c79dfe47f09117aac1561665a4c2933c4cc17d7

Files changed

interface.jschanged
interface.jsView
@@ -226,9 +226,9 @@
226226 * @param {integer} offset the offset to load the hash into
227227 */
228228 blockHash (number, offset) {
229229 const hash = this.environment.getBlockHash(number)
230- const memory = new Uint8Array(this.module.exports.memory, offset, constants.ADD_SIZE_BYTES)
230+ const memory = new Uint8Array(this.module.exports.memory, offset, 32)
231231 memory.set(hash)
232232 }
233233
234234 /**

Built with git-ssb-web