mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 13:54:20 +01:00
Fix CI issues
This commit is contained in:
@@ -6,8 +6,8 @@ import 'package:breez_sdk/bridge_generated.dart';
|
|||||||
NodeConfig productionNodeConfig() {
|
NodeConfig productionNodeConfig() {
|
||||||
// ANCHOR: moving-to-production
|
// ANCHOR: moving-to-production
|
||||||
// Read your Greenlight credentials from secure storage
|
// Read your Greenlight credentials from secure storage
|
||||||
Uint8List deviceKey = Uint8List();
|
Uint8List deviceKey = Uint8List(0);
|
||||||
Uint8List deviceCert = Uint8List();
|
Uint8List deviceCert = Uint8List(0);
|
||||||
GreenlightCredentials greenlightCredentials = GreenlightCredentials(deviceKey, deviceCert);
|
GreenlightCredentials greenlightCredentials = GreenlightCredentials(deviceKey, deviceCert);
|
||||||
|
|
||||||
NodeConfig nodeConfig = NodeConfig.greenlight(
|
NodeConfig nodeConfig = NodeConfig.greenlight(
|
||||||
@@ -17,5 +17,5 @@ NodeConfig productionNodeConfig() {
|
|||||||
),
|
),
|
||||||
);
|
);
|
||||||
// ANCHOR_END: moving-to-production
|
// ANCHOR_END: moving-to-production
|
||||||
return nodeConfig
|
return nodeConfig;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ func ProductionNodeConfig() breez_sdk.NodeConfig {
|
|||||||
greenlightCredentials := breez_sdk.GreenlightCredentials{
|
greenlightCredentials := breez_sdk.GreenlightCredentials{
|
||||||
DeviceKey: deviceKey,
|
DeviceKey: deviceKey,
|
||||||
DeviceCert: deviceCert,
|
DeviceCert: deviceCert,
|
||||||
};
|
}
|
||||||
|
|
||||||
nodeConfig := breez_sdk.NodeConfigGreenlight{
|
nodeConfig := breez_sdk.NodeConfigGreenlight{
|
||||||
Config: breez_sdk.GreenlightNodeConfig{
|
Config: breez_sdk.GreenlightNodeConfig{
|
||||||
|
|||||||
Reference in New Issue
Block a user