Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

Commit

Permalink
add disstribution.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Benzbeeb committed Jul 3, 2020
1 parent 3b66617 commit d0bd98c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions chain/emitter/distribution.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package emitter

import (
dist "github.com/cosmos/cosmos-sdk/x/distribution"
)

// handleMsgWithdrawDelegatorReward implements emitter handler for MsgWithdrawDelegatorReward.
func (app *App) handleMsgWithdrawDelegatorReward(
txHash []byte, msg dist.MsgWithdrawDelegatorReward, evMap EvMap, extra JsDict,
) {
app.emitUpdateValidatorReward(msg.ValidatorAddress)
}

0 comments on commit d0bd98c

Please sign in to comment.