Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "1.90.0"
channel = "1.93.0"
profile = "minimal"
components = ["clippy", "rust-docs", "rustfmt"]
targets = ["wasm32-unknown-unknown"]
4 changes: 2 additions & 2 deletions src/scheduler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -591,9 +591,9 @@ async fn job_process_dev_fee_payment() {

for mut order in unpaid_orders {
// GUARD: Detect partial success scenario (payment succeeded but DB update failed)
if order.dev_fee_payment_hash.is_some() {
if let Some(payment_hash) = &order.dev_fee_payment_hash {
let order_id = order.id;
let payment_hash = order.dev_fee_payment_hash.as_ref().unwrap().clone();
let payment_hash = payment_hash.clone();

warn!(
"Order {} has payment hash '{}' but dev_fee_paid=false. Recovering from failed DB update.",
Expand Down