From aed01b2dda39bc9288f9715cbcb640c61c0a1b04 Mon Sep 17 00:00:00 2001 From: Ross Savage Date: Wed, 29 Nov 2023 15:35:36 +0100 Subject: [PATCH] Fix CI issues --- snippets/dart_snippets/lib/production.dart | 6 +++--- snippets/go/production.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/snippets/dart_snippets/lib/production.dart b/snippets/dart_snippets/lib/production.dart index eae8eba..9ee4e3b 100644 --- a/snippets/dart_snippets/lib/production.dart +++ b/snippets/dart_snippets/lib/production.dart @@ -6,8 +6,8 @@ import 'package:breez_sdk/bridge_generated.dart'; NodeConfig productionNodeConfig() { // ANCHOR: moving-to-production // Read your Greenlight credentials from secure storage - Uint8List deviceKey = Uint8List(); - Uint8List deviceCert = Uint8List(); + Uint8List deviceKey = Uint8List(0); + Uint8List deviceCert = Uint8List(0); GreenlightCredentials greenlightCredentials = GreenlightCredentials(deviceKey, deviceCert); NodeConfig nodeConfig = NodeConfig.greenlight( @@ -17,5 +17,5 @@ NodeConfig productionNodeConfig() { ), ); // ANCHOR_END: moving-to-production - return nodeConfig + return nodeConfig; } diff --git a/snippets/go/production.go b/snippets/go/production.go index 94e9f63..afc7d6e 100644 --- a/snippets/go/production.go +++ b/snippets/go/production.go @@ -12,7 +12,7 @@ func ProductionNodeConfig() breez_sdk.NodeConfig { greenlightCredentials := breez_sdk.GreenlightCredentials{ DeviceKey: deviceKey, DeviceCert: deviceCert, - }; + } nodeConfig := breez_sdk.NodeConfigGreenlight{ Config: breez_sdk.GreenlightNodeConfig{