git ssb

0+

wanderer🌟 / js-primea-hypervisor



Tree: 29b4a4a60e83eef1ed70225dae7e9514764a25bf

Files: 29b4a4a60e83eef1ed70225dae7e9514764a25bf / 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