From a16b177af2ced0627fc7d23c4f970329d19fceb6 Mon Sep 17 00:00:00 2001 From: Patrick Pfeiffer Date: Wed, 24 Jan 2024 13:23:41 +0100 Subject: [PATCH] (BIDS-2879) remove total withrdawals from account-page for now --- db/db.go | 4 ++++ templates/execution/address.html | 3 +++ 2 files changed, 7 insertions(+) diff --git a/db/db.go b/db/db.go index 56a6e0e249..44042947df 100644 --- a/db/db.go +++ b/db/db.go @@ -2392,6 +2392,10 @@ func GetValidatorsWithdrawalsByEpoch(validator []uint64, startEpoch uint64, endE // GetAddressWithdrawalsTotal returns the total withdrawals for an address func GetAddressWithdrawalsTotal(address []byte) (uint64, error) { + // #TODO: BIDS-2879 + if true { + return 0, nil + } var total uint64 err := ReaderDb.Get(&total, ` diff --git a/templates/execution/address.html b/templates/execution/address.html index 681eb3a52f..c970afdeda 100644 --- a/templates/execution/address.html +++ b/templates/execution/address.html @@ -361,7 +361,10 @@

+ N/A +