mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 09:05:06 -07:00
getBlockTemplate
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user