git ssb

0+

wanderer🌟 / js-primea-hypervisor



Tree: c33f49958fc7e7e7c43b192b0c2b4361eda3c8a1

Files: c33f49958fc7e7e7c43b192b0c2b4361eda3c8a1 / testEnvironment.js

249 bytesRaw
1const Environment = require('./environment.js')
2const fakeBlockchain = require('./fakeBlockChain')
3
4module.exports = class TestEnvironment extends Environment {
5 async getBlockHash (height) {
6 return fakeBlockchain.getBlock(height).hash()
7 }
8}
9

Built with git-ssb-web