From dc35623ce7c623fdea277550bdd5da329b7be8bb Mon Sep 17 00:00:00 2001 From: Erdem Yerebasmaz Date: Sun, 16 Jun 2024 22:55:20 +0300 Subject: [PATCH] Update GreenlightCredentials --- lib/app_config.dart | 4 ++-- test/mock/breez_bridge_mock.dart | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/app_config.dart b/lib/app_config.dart index 722c0bc64..c3c2e2347 100644 --- a/lib/app_config.dart +++ b/lib/app_config.dart @@ -13,8 +13,8 @@ class AppConfig { GreenlightCredentials? get partnerCredentials { try { return GreenlightCredentials( - deviceCert: base64.decode(glCertificate), - deviceKey: base64.decode(glKey), + developerCert: base64.decode(glCertificate), + developerKey: base64.decode(glKey), ); } catch (e) { _log.warning("Failed to parse partner credentials: $e"); diff --git a/test/mock/breez_bridge_mock.dart b/test/mock/breez_bridge_mock.dart index 1e1a47f30..d40784914 100644 --- a/test/mock/breez_bridge_mock.dart +++ b/test/mock/breez_bridge_mock.dart @@ -8,8 +8,8 @@ import 'package:rxdart/rxdart.dart'; class BreezSDKMock extends Mock implements BreezSDK { GreenlightCredentials credentials = GreenlightCredentials( - deviceKey: Uint8List(2), - deviceCert: Uint8List(2), + developerKey: Uint8List(2), + developerCert: Uint8List(2), ); @override