Skip to content

Commit

Permalink
Update GreenlightCredentials
Browse files Browse the repository at this point in the history
  • Loading branch information
erdemyerebasmaz committed Jun 21, 2024
1 parent c5552aa commit dc35623
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/app_config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
4 changes: 2 additions & 2 deletions test/mock/breez_bridge_mock.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dc35623

Please sign in to comment.