Skip to content

Conversation

@gluckzhang
Copy link
Member

The root cause is: for some chains there can be different kinds of tokens as self-delegation rewards and commissions. The previous approach gets bank metadata based on the first element in the rewards list, which may not be the native token.

bankMeta = cc.getBankMetadataFromCosmosDirectory((*rewards)[0].Denom)

…tive token

Signed-off-by: Long Zhang <gluckzhang@gmail.com>
Signed-off-by: Long Zhang <gluckzhang@gmail.com>
@gluckzhang gluckzhang merged commit 5671440 into main Feb 3, 2026
2 checks passed
@gluckzhang gluckzhang deleted the 69/fix-invalid-denom branch February 3, 2026 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant