Skip to content

Commit

Permalink
fix: invalid spend reason in data payments
Browse files Browse the repository at this point in the history
  • Loading branch information
grumbach committed May 15, 2024
1 parent 6e87253 commit ca75e52
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions sn_transfers/src/wallet/hot_wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -470,16 +470,7 @@ impl HotWallet {
);
debug!("Available CashNotes: {:#?}", available_cash_notes);

let spend_reason = match SpendReason::create_reward_tracking_reason("STORAGE") {
Ok(spend_reason) => spend_reason,
Err(err) => {
error!("Failed to generate spend_reason for local_send {err:?}");
return Err(Error::CouldNotSendMoney(format!(
"Failed to generate spend_reason {err:?}"
)));
}
};

let spend_reason = Default::default();
let start = Instant::now();
let offline_transfer = OfflineTransfer::new(
available_cash_notes,
Expand Down

0 comments on commit ca75e52

Please sign in to comment.