Skip to content

Commit

Permalink
Merge branch 'improve-sending-cardinals'
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Martin committed Mar 25, 2023
2 parents 9809124 + acf32c7 commit 8e179c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/subcommand/wallet/send.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ impl Send {
serde_json::Value::Null, // 7. conf_target
serde_json::Value::Null, // 8. estimate_mode
serde_json::Value::Null, // 9. avoid_reuse
self.fee_rate.fee(1).to_sat().into(), // 10. fee_rate
self.fee_rate.fee(1.0).to_sat().into(), // 10. fee_rate
],
)?;
print_json(Output { transaction: txid })?;
Expand All @@ -150,7 +150,7 @@ impl Send {
vec![serde_json::to_value((self.address).to_string())?].into(), // 1. recipients
serde_json::Value::Null, // 2. conf_target
serde_json::Value::Null, // 3. estimate_mode
self.fee_rate.fee(1).to_sat().into(), // 4. fee_rate
self.fee_rate.fee(1.0).to_sat().into(), // 4. fee_rate
serde_json::from_str(if self.outgoing == Outgoing::Max {
"{\"send_max\": true}" // 5. options
} else {
Expand Down

0 comments on commit 8e179c4

Please sign in to comment.