mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2025-04-02 08:58:02 +02:00
getBlockTemplate
This commit is contained in:
parent
c1ab6a152e
commit
d97843af3d
@ -98,6 +98,9 @@ export class BitcoinRpcService implements OnModuleInit {
|
||||
const block = await this.rpcBlockService.getBlock(blockHeight);
|
||||
const completeBlock = block?.data != null;
|
||||
|
||||
console.log('process.env.MASTER')
|
||||
console.log(process.env.MASTER);
|
||||
console.log(typeof process.env.MASTER);
|
||||
if(process.env.MASTER == 'true'){
|
||||
result = await this.loadBlockTemplate(blockHeight);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user