mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-13 13:43:30 +00:00
Update the pending deposits metrics on pruning (#2163)
* update the pending deposits on prune * use float64 *facepalm*
This commit is contained in:
parent
f670a134a0
commit
47e631d4ff
@ -122,4 +122,6 @@ func (db *BeaconDB) PrunePendingDeposits(ctx context.Context, b *big.Int) {
|
||||
if idx >= 0 {
|
||||
db.pendingDeposits = db.pendingDeposits[idx+1:]
|
||||
}
|
||||
|
||||
pendingDepositsCount.Set(float64(len(db.pendingDeposits)))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user