mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 09:05:06 -07:00
debug
This commit is contained in:
@@ -137,6 +137,7 @@ export class BitcoinRpcService implements OnModuleInit {
|
|||||||
const result = await this.rpcBlockService.saveBlock(blockHeight, JSON.stringify(blockTemplate));
|
const result = await this.rpcBlockService.saveBlock(blockHeight, JSON.stringify(blockTemplate));
|
||||||
if(result.affected < 1){
|
if(result.affected < 1){
|
||||||
console.error('Block was not saved');
|
console.error('Block was not saved');
|
||||||
|
console.error(result.raw);
|
||||||
}else {
|
}else {
|
||||||
console.log('block saved');
|
console.log('block saved');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user