Skip to content

Commit

Permalink
fix: update parse BigInt in cancel unbond
Browse files Browse the repository at this point in the history
  • Loading branch information
fibonacci998 committed May 18, 2024
1 parent c444e8e commit 03c1c6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/stargate/src/modules/staking/aminomessages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ export function createStakingAminoConverters(): Record<string, AminoConverter> {
delegator_address: delegatorAddress,
validator_address: validatorAddress,
amount: amount,
creation_height: creationHeight,
creation_height: creationHeight.toString(),
};
},
fromAmino: ({
Expand All @@ -366,7 +366,7 @@ export function createStakingAminoConverters(): Record<string, AminoConverter> {
delegatorAddress: delegator_address,
validatorAddress: validator_address,
amount: amount,
creationHeight: creation_height,
creationHeight: BigInt(creation_height),
}),
},
};
Expand Down

0 comments on commit 03c1c6b

Please sign in to comment.