clean up contract review findings

This commit is contained in:
wiesche
2026-08-31 23:43:58 +02:00
parent 12b8072d2d
commit dc46cbe73a
9 changed files with 108 additions and 56 deletions
-2
View File
@@ -1818,8 +1818,6 @@ impl ContractSetupArgs {
fn to_api_args(&self) -> Result<ContractSetupArgsAPI, Error> {
let net_change = self.get_net_change()?;
Ok(ContractSetupArgsAPI {
// TODO: num_participants is derived here. It should be an Option and read from the slate.
// Need to check no attack are possible regarding kernel fee contribution.
net_change: net_change,
add_outputs: self.add_outputs,
selection_args: OutputSelectionArgs {