Skip to content

Commit 1e9681c

Browse files
committed
(BIDS-2879) remove total withrdawals from account-page for now
1 parent 84fed6b commit 1e9681c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

db/db.go

+4
Original file line numberDiff line numberDiff line change
@@ -2392,6 +2392,10 @@ func GetValidatorsWithdrawalsByEpoch(validator []uint64, startEpoch uint64, endE
23922392

23932393
// GetAddressWithdrawalsTotal returns the total withdrawals for an address
23942394
func GetAddressWithdrawalsTotal(address []byte) (uint64, error) {
2395+
// #TODO: BIDS-2879
2396+
if true {
2397+
return 0, nil
2398+
}
23952399
var total uint64
23962400

23972401
err := ReaderDb.Get(&total, `

templates/execution/address.html

+2
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@ <h4 class="h4 text-monospace mb-md-3 header-address text-truncate">
356356
{{ len .Data.Metadata.Balances }}
357357
</span>
358358
</div>
359+
<!-- #TODO: BIDS-2879
359360
<div class="overview-col">
360361
<span class=""> Total Withdrawals </span>
361362
</div>
@@ -364,6 +365,7 @@ <h4 class="h4 text-monospace mb-md-3 header-address text-truncate">
364365
{{ .Data.WithdrawalsSummary }}
365366
</span>
366367
</div>
368+
-->
367369
</div>
368370
</div>
369371
</div>

0 commit comments

Comments
 (0)