Skip to content

Commit 0344912

Browse files
committed
fix
1 parent ef30d0b commit 0344912

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

internal/v2/db/client/stats.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,7 @@ func (v2dbclient *V2Database) IncrementStakerStats(
218218
upsertUpdate := bson.M{
219219
"$inc": bson.M{
220220
"active_tvl": int64(amount),
221-
"total_tvl": int64(amount),
222221
"active_delegations": 1,
223-
"total_delegations": 1,
224222
},
225223
}
226224
return v2dbclient.updateStakerStats(ctx, types.Active.ToString(), stakingTxHashHex, stakerPkHex, upsertUpdate)
@@ -323,9 +321,7 @@ func (v2dbclient *V2Database) IncrementFinalityProviderStats(
323321
SetUpdate(bson.M{
324322
"$inc": bson.M{
325323
"active_tvl": int64(amount),
326-
"total_tvl": int64(amount),
327324
"active_delegations": 1,
328-
"total_delegations": 1,
329325
},
330326
}).
331327
SetUpsert(true)

0 commit comments

Comments
 (0)