notification messages, dev fee

This commit is contained in:
Ben
2023-07-09 20:15:37 -04:00
parent 9083501e6f
commit e9ae1853af
6 changed files with 20 additions and 18 deletions
+3 -2
View File
@@ -58,11 +58,12 @@ export class BitcoinRpcService {
}
public async SUBMIT_BLOCK(hexdata: string): Promise<string> {
let response: string = '';
let response: string = 'unknown';
try {
response = await this.client.submitblock({
await this.client.submitblock({
hexdata
});
response = 'SUCCESS!';
console.log(`BLOCK SUBMISSION RESPONSE: ${response}`);
console.log(hexdata);
console.log(JSON.stringify(response));