From 2c2003af5a94ce099ee0a839106bbb1b2e5efc5c Mon Sep 17 00:00:00 2001 From: softsimon Date: Fri, 27 Jan 2023 14:18:50 +0400 Subject: [PATCH] Fix for disabling block audit below block height --- frontend/src/app/components/block/block.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/app/components/block/block.component.ts b/frontend/src/app/components/block/block.component.ts index 719d38528..05c5db41a 100644 --- a/frontend/src/app/components/block/block.component.ts +++ b/frontend/src/app/components/block/block.component.ts @@ -616,17 +616,17 @@ export class BlockComponent implements OnInit, OnDestroy { switch (this.stateService.network) { case 'testnet': if (blockHeight < this.stateService.env.TESTNET_BLOCK_AUDIT_START_HEIGHT) { - this.setAuditAvailable(true); + this.setAuditAvailable(false); } break; case 'signet': if (blockHeight < this.stateService.env.SIGNET_BLOCK_AUDIT_START_HEIGHT) { - this.setAuditAvailable(true); + this.setAuditAvailable(false); } break; default: if (blockHeight < this.stateService.env.MAINNET_BLOCK_AUDIT_START_HEIGHT) { - this.setAuditAvailable(true); + this.setAuditAvailable(false); } } }