From 35648f5c0d4aded8fc0120af942e58946c6b3dd6 Mon Sep 17 00:00:00 2001 From: scx1332 Date: Tue, 24 Oct 2023 17:05:39 +0200 Subject: [PATCH] remove signed_raw_data after transaction confirmed (it's just unneeded junk at this point) --- 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!())?;