Skip to content

Commit

Permalink
Merge pull request #2825 from gobitfly/BIDS-2879/noop-GetAddressWithd…
Browse files Browse the repository at this point in the history
…rawalsTotal

(BIDS-2879) remove total withrdawals from account-page for now
  • Loading branch information
recy21 authored Jan 24, 2024
2 parents 84fed6b + a16b177 commit c164b61
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
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

0 comments on commit c164b61

Please sign in to comment.