Skip to content

Commit

Permalink
remove signed_raw_data after transaction confirmed
Browse files Browse the repository at this point in the history
  • Loading branch information
scx1332 authored Oct 25, 2023
1 parent 44ed7ee commit 3f33e25
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 3f33e25

Please sign in to comment.