From dbfb1bbdee9aed86d3703785b0830387d4a621cc Mon Sep 17 00:00:00 2001 From: mmsqe Date: Tue, 16 Jul 2019 02:47:23 +0800 Subject: [PATCH] chore: add UNKNOWN status code for Ac|Mempool (#36882) --- types/libra-core/index.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/types/libra-core/index.d.ts b/types/libra-core/index.d.ts index bdf823769a..44b531e29b 100644 --- a/types/libra-core/index.d.ts +++ b/types/libra-core/index.d.ts @@ -385,18 +385,20 @@ export namespace LibraTransactionResponse { } export enum LibraAdmissionControlStatus { + UNKNOWN = -1, ACCEPTED = 0, BLACKLISTED = 1, - REJECTED = 2, + REJECTED = 2 } export enum LibraMempoolTransactionStatus { + UNKNOWN = -1, VALID = 0, INSUFFICIENTBALANCE = 1, INVALIDSEQNUMBER = 2, MEMPOOLISFULL = 3, TOOMANYTRANSACTIONS = 4, - INVALIDUPDATE = 5, + INVALIDUPDATE = 5 } export interface LibraSignedTransaction {