Use Long for endTime
This commit is contained in:
+1
-1
@@ -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
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user