Liquid gets block reward data from coinbase

This commit is contained in:
softsimon
2024-05-22 16:16:47 +07:00
parent aa80fa550b
commit ea0a4d1d67
3 changed files with 15 additions and 1 deletions

View File

@@ -755,4 +755,10 @@ export class BlockComponent implements OnInit, OnDestroy {
this.block.canonical = block.id;
}
}
updateBlockReward(blockReward: number): void {
if (this.fees === undefined) {
this.fees = blockReward;
}
}
}