support less than 0 rounds

This commit is contained in:
sneurlax 2023-10-17 12:24:36 -05:00
parent 87baa840d3
commit 2556eff69f

View file

@ -406,11 +406,9 @@ mixin FusionWalletInterface {
serverHost: fusionInfo.host, serverHost: fusionInfo.host,
serverPort: fusionInfo.port, serverPort: fusionInfo.port,
serverSsl: fusionInfo.ssl, serverSsl: fusionInfo.ssl,
roundCount: fusionInfo.rounds,
); );
// TODO use as required. Zero indicates continuous
final roundCount = fusionInfo.rounds;
// Instantiate a Fusion object with custom parameters. // Instantiate a Fusion object with custom parameters.
final mainFusionObject = fusion.Fusion(serverParams); final mainFusionObject = fusion.Fusion(serverParams);