Fix AppendTags usage error (#4336)
Fix AppendTags usage error Thanks: @mjackson001 for the bug report and patch (original PR: #4274) Closes: #4273
This commit is contained in:
parent
c0486aa532
commit
262c752863
1
.pending/bugfixes/sdk/4273-Fix-usage-of-Ap
Normal file
1
.pending/bugfixes/sdk/4273-Fix-usage-of-Ap
Normal file
@ -0,0 +1 @@
|
||||
#4273 Fix usage of AppendTags in x/staking/handler.go
|
||||
@ -66,7 +66,7 @@ func EndBlocker(ctx sdk.Context, k keeper.Keeper) ([]abci.ValidatorUpdate, sdk.T
|
||||
continue
|
||||
}
|
||||
|
||||
resTags.AppendTags(sdk.NewTags(
|
||||
resTags = resTags.AppendTags(sdk.NewTags(
|
||||
tags.Action, tags.ActionCompleteUnbonding,
|
||||
tags.Delegator, dvPair.DelegatorAddress.String(),
|
||||
tags.SrcValidator, dvPair.ValidatorAddress.String(),
|
||||
@ -82,7 +82,7 @@ func EndBlocker(ctx sdk.Context, k keeper.Keeper) ([]abci.ValidatorUpdate, sdk.T
|
||||
continue
|
||||
}
|
||||
|
||||
resTags.AppendTags(sdk.NewTags(
|
||||
resTags = resTags.AppendTags(sdk.NewTags(
|
||||
tags.Action, tags.ActionCompleteRedelegation,
|
||||
tags.Category, tags.TxCategory,
|
||||
tags.Delegator, dvvTriplet.DelegatorAddress.String(),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user