From 3f33e253025b5d23207f95505618fb9eece9ed98 Mon Sep 17 00:00:00 2001 From: scx1332 Date: Wed, 25 Oct 2023 13:30:01 +0200 Subject: [PATCH] remove signed_raw_data after transaction confirmed --- crates/erc20_payment_lib/src/sender/process.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/erc20_payment_lib/src/sender/process.rs b/crates/erc20_payment_lib/src/sender/process.rs index a7517f31..1e5bd802 100644 --- a/crates/erc20_payment_lib/src/sender/process.rs +++ b/crates/erc20_payment_lib/src/sender/process.rs @@ -523,6 +523,8 @@ pub async fn process_transaction( } } current_tx.orig_tx_id = None; + //signed raw data is no longer needed + current_tx.signed_raw_data = None; update_tx(&mut *db_transaction, ¤t_tx) .await .map_err(err_from!())?;