mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 13:47:12 +00:00
fix: update parse BigInt in cancel unbond
This commit is contained in:
parent
c444e8e16f
commit
03c1c6ba5d
@ -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: ({
|
||||
@ -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),
|
||||
}),
|
||||
},
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user