git ssb

0+

wanderer🌟 / js-primea-hypervisor



Tree: e0e6608f9df71b679e52c4d0916732e4e8201fc2

Files: e0e6608f9df71b679e52c4d0916732e4e8201fc2 / testEnvironment.js

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

Built with git-ssb-web