Withdraw rewards on bonded to unbonding

This commit is contained in:
Christopher Goes
2018-10-20 00:13:44 +02:00
parent a6ef3c42aa
commit 7770aec306
8 changed files with 24 additions and 14 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ type StakingHooks interface {
OnValidatorRemoved(ctx Context, address ValAddress) // called when a validator is deleted
OnValidatorBonded(ctx Context, address ConsAddress) // called when a validator is bonded
OnValidatorBeginUnbonding(ctx Context, address ConsAddress) // called when a validator begins unbonding
OnValidatorBeginUnbonding(ctx Context, address ConsAddress, operator ValAddress) // called when a validator begins unbonding
OnDelegationCreated(ctx Context, delAddr AccAddress, valAddr ValAddress) // called when a delegation is created
OnDelegationSharesModified(ctx Context, delAddr AccAddress, valAddr ValAddress) // called when a delegation's shares are modified