add serverSsl param

This commit is contained in:
sneurlax 2023-10-16 14:58:29 -05:00
parent 849303f9a7
commit a7b2ec08d3

View file

@ -293,15 +293,15 @@ mixin FusionWalletInterface {
///
/// This function is called when the user taps the "Fuse" button in the UI.
Future<void> fuse(
{required String serverHost, required int serverPort}) async {
{required String serverHost,
required int serverPort,
required bool serverSsl}) async {
// Initial attempt for CashFusion integration goes here.
// Use server host and port which ultimately come from text fields.
// TODO validate.
fusion.FusionParams serverParams = fusion.FusionParams(
serverHost: serverHost,
serverPort: serverPort,
);
serverHost: serverHost, serverPort: serverPort, serverSsl: serverSsl);
// Instantiate a Fusion object with custom parameters.
final mainFusionObject = fusion.Fusion(serverParams);