Skip to content

Commit

Permalink
Build tw with mana allotments
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez committed Dec 11, 2023
1 parent 7d920e4 commit 1052721
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sdk/src/wallet/operations/transaction/build_transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ where
if let Some(capabilities) = options.capabilities {
builder = builder.add_capabilities(capabilities.capabilities_iter());
}

if let Some(mana_allotments) = options.mana_allotments {
builder = builder.with_mana_allotments(mana_allotments);
}
}

let transaction = builder.finish_with_params(&protocol_parameters)?;
Expand Down

0 comments on commit 1052721

Please sign in to comment.