Skip to content

Commit

Permalink
pr comment: rm unneeded fields in delegation document
Browse files Browse the repository at this point in the history
  • Loading branch information
gusin13 committed Dec 13, 2024
1 parent c91514c commit f84a9fe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/db/model/delegation.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ type DelegationDocument struct {
StakingTxHashHex string `bson:"_id"` // Primary key
StakerPkHex string `bson:"staker_pk_hex"`
FinalityProviderPkHex string `bson:"finality_provider_pk_hex"`
StakingValue uint64 `bson:"staking_value"`
State types.DelegationState `bson:"state"`
StakingTx *TimelockTransaction `bson:"staking_tx"` // Always exist
UnbondingTx *TimelockTransaction `bson:"unbonding_tx,omitempty"`
IsOverflow bool `bson:"is_overflow"`
}

0 comments on commit f84a9fe

Please sign in to comment.