fix: wallet coin selection respects max_block_weight (#2546)
* fix #2510: wallet coin selection respects max_block_weight Deprecate "soft" max_outputs limit and introduce "hard" max_outputs limit based on max_block_weight. * Fix tests
This commit is contained in:
committed by
Ignotus Peverell
parent
1d0c04cf0b
commit
aa4f44b79a
@@ -205,7 +205,6 @@ pub struct SendArgs {
|
||||
pub dest: String,
|
||||
pub change_outputs: usize,
|
||||
pub fluff: bool,
|
||||
pub max_outputs: usize,
|
||||
}
|
||||
|
||||
pub fn send(
|
||||
@@ -223,7 +222,6 @@ pub fn send(
|
||||
None,
|
||||
args.amount,
|
||||
args.minimum_confirmations,
|
||||
args.max_outputs,
|
||||
args.change_outputs,
|
||||
strategy == "all",
|
||||
)
|
||||
@@ -237,7 +235,6 @@ pub fn send(
|
||||
None,
|
||||
args.amount,
|
||||
args.minimum_confirmations,
|
||||
args.max_outputs,
|
||||
args.change_outputs,
|
||||
args.selection_strategy == "all",
|
||||
args.message.clone(),
|
||||
|
||||
Reference in New Issue
Block a user