Use Long for endTime

This commit is contained in:
abefernan
2023-06-06 13:01:35 +02:00
parent 141f6edbbd
commit 8b3d96a214
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ const isTxMsgCreateVestingAccount = (msg: TxMsg | EncodeObject): msg is TxMsgCre
!!msg.value.fromAddress &&
!!msg.value.toAddress &&
!!msg.value.amount.length &&
typeof msg.value.endTime === "number" &&
!!msg.value.endTime &&
typeof msg.value.delayed === "boolean";
const gasOfMsg = (msgType: MsgType): number => {
+1 -1
View File
@@ -77,7 +77,7 @@ export interface TxMsgCreateVestingAccount {
readonly fromAddress: string;
readonly toAddress: string;
readonly amount: readonly Readonly<Coin>[];
readonly endTime: number;
readonly endTime: Long;
readonly delayed: boolean;
};
}