Skip to content

Commit

Permalink
remove signed_raw_data after transaction confirmed (it's just unneede…
Browse files Browse the repository at this point in the history
…d junk at this point)
  • Loading branch information
scx1332 committed Oct 24, 2023
1 parent 7bceff2 commit 35648f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/erc20_payment_lib/src/sender/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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, &current_tx)
.await
.map_err(err_from!())?;
Expand Down

0 comments on commit 35648f5

Please sign in to comment.