Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(BIDS-2879) remove total withrdawals from account-page for now #2825

Merged
merged 1 commit into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions db/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -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, `
Expand Down
3 changes: 3 additions & 0 deletions templates/execution/address.html
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,10 @@ <h4 class="h4 text-monospace mb-md-3 header-address text-truncate">
</div>
<div class="overview-col">
<span class="">
<span data-toggle="tooltip" title="" data-original-title="This value is currently not available, it will be back soon">N/A <i class="far ml-1 fa-question-circle"></i></span>
<!-- #TODO: BIDS-2879
{{ .Data.WithdrawalsSummary }}
-->
</span>
</div>
</div>
Expand Down
Loading