Update the pending deposits metrics on pruning (#2163)

* update the pending deposits on prune

* use float64 *facepalm*
This commit is contained in:
Preston Van Loon 2019-04-04 21:28:00 -05:00 committed by Nishant Das
parent f670a134a0
commit 47e631d4ff

View File

@ -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)))
}