From 2ce7bd7d2bb6883534d8ef61c382766defa91fab Mon Sep 17 00:00:00 2001 From: aldenhu Date: Mon, 18 Nov 2024 18:13:19 +0000 Subject: [PATCH] clean --- types/src/transaction/mod.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/types/src/transaction/mod.rs b/types/src/transaction/mod.rs index f694edf05821c4..b557dfc00e877e 100644 --- a/types/src/transaction/mod.rs +++ b/types/src/transaction/mod.rs @@ -954,14 +954,6 @@ impl TransactionStatus { } } - pub fn is_keep(&self) -> bool { - match self { - TransactionStatus::Discard(_) => false, - TransactionStatus::Keep(_) => true, - TransactionStatus::Retry => false, - } - } - pub fn is_discarded(&self) -> bool { match self { TransactionStatus::Discard(_) => true,