fix breaking changes from update

This commit is contained in:
Matthew Fosse 2024-06-25 10:51:13 -07:00
parent 3afe71e2b4
commit 5e129ec6d2

View file

@ -187,11 +187,9 @@ abstract class LightningWalletBase extends ElectrumWallet with Store {
// print("Breez log: ${event.line}"); // print("Breez log: ${event.line}");
// }); // });
Uint8List deviceKey = base64.decode(secrets.greenlightKey);
Uint8List deviceCert = base64.decode(secrets.greenlightCert);
GreenlightCredentials greenlightCredentials = GreenlightCredentials( GreenlightCredentials greenlightCredentials = GreenlightCredentials(
deviceKey: deviceKey, developerKey: base64.decode(secrets.greenlightKey),
deviceCert: deviceCert, developerCert: base64.decode(secrets.greenlightCert),
); );
NodeConfig breezNodeConfig = NodeConfig.greenlight( NodeConfig breezNodeConfig = NodeConfig.greenlight(