mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 17:57:40 +00:00
add serverSsl param
This commit is contained in:
parent
849303f9a7
commit
a7b2ec08d3
1 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue