Skip to content

Commit

Permalink
fix: change wallet log target from error to trace (see issue #4586)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeantonio21 committed Sep 2, 2022
1 parent e17c1f9 commit 183fa6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base_layer/wallet/src/output_manager_service/service.rs
Expand Up @@ -1448,7 +1448,7 @@ where
for o in uo {
utxos_total_value += o.unblinded_output.value;

error!(target: LOG_TARGET, "-- utxos_total_value = {:?}", utxos_total_value);
trace!(target: LOG_TARGET, "-- utxos_total_value = {:?}", utxos_total_value);
utxos.push(o);
// The assumption here is that the only output will be the payment output and change if required
fee_without_change = fee_calc.calculate(
Expand All @@ -1469,7 +1469,7 @@ where
total_output_metadata_byte_size + default_metadata_size,
);

error!(target: LOG_TARGET, "-- amt+fee = {:?} {}", amount, fee_with_change);
trace!(target: LOG_TARGET, "-- amt+fee = {:?} {}", amount, fee_with_change);
if utxos_total_value > amount + fee_with_change {
requires_change_output = true;
break;
Expand Down

0 comments on commit 183fa6e

Please sign in to comment.