Skip to content

Commit

Permalink
feat: allow filtering MsgWithdrawDelegatorReward on delegator (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
freak12techno authored Dec 19, 2023
1 parent 244ca52 commit 449db1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/messages/msg_withdraw_delegator_reward.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ func (m *MsgWithdrawDelegatorReward) GetValues() event.EventValues {
return []event.EventValue{
event.From(cosmosTypes.EventTypeMessage, cosmosTypes.AttributeKeyAction, m.Type()),
event.From(cosmosDistributionTypes.EventTypeWithdrawRewards, cosmosDistributionTypes.AttributeKeyValidator, m.ValidatorAddress.Value),
event.From(cosmosDistributionTypes.EventTypeWithdrawRewards, cosmosDistributionTypes.AttributeKeyDelegator, m.DelegatorAddress.Value),
}
}

Expand Down

0 comments on commit 449db1a

Please sign in to comment.