Files: 35dfa5477c5c02ad53d5eef194860e48f9677897 / testEnvironment.js
249 bytesRaw
1 | const Environment = require('./environment.js') |
2 | const fakeBlockchain = require('./fakeBlockChain') |
3 | |
4 | module.exports = class TestEnvironment extends Environment { |
5 | async getBlockHash (height) { |
6 | return fakeBlockchain.getBlock(height).hash() |
7 | } |
8 | } |
9 |
Built with git-ssb-web