Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Gubarev <[email protected]>
  • Loading branch information
agubarev committed Jul 1, 2022
1 parent 5f12104 commit 1119469
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions base_layer/wallet/src/output_manager_service/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1752,18 +1752,9 @@ where
fee_per_gram: MicroTari,
) -> Result<(TxId, Transaction, MicroTari), OutputManagerError> {
match amount_per_split {
None => {
/*
let amount_per_split = match amount_per_split.clone() {
None => MicroTari(u64::MAX),
Some(aps) => aps * MicroTari(number_of_splits as u64),
};
self.create_coin_split_even(selection.utxos, number_of_splits, fee_per_gram)
.await
*/
Err(OutputManagerError::InvalidArgument("coin split without `amount_per_split` is not supported yet".to_string()))
},
None => Err(OutputManagerError::InvalidArgument(
"coin split without `amount_per_split` is not supported yet".to_string(),
)),
Some(amount_per_split) => {
let selection = self
.select_utxos(
Expand Down

0 comments on commit 1119469

Please sign in to comment.