From 1d593df5afcfa383c69c78b48dc629265af6fd88 Mon Sep 17 00:00:00 2001 From: Nicolas Dorier Date: Mon, 14 Feb 2022 20:33:27 +0900 Subject: [PATCH] Bump lightning lib (#3453) * Bump lightning lib * Fix endianness of description hash text --- BTCPayServer.Client/BTCPayServer.Client.csproj | 2 +- BTCPayServer/BTCPayServer.csproj | 2 +- BTCPayServer/Controllers/UILNURLController.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/BTCPayServer.Client/BTCPayServer.Client.csproj b/BTCPayServer.Client/BTCPayServer.Client.csproj index e4203c66d..ebfc04e46 100644 --- a/BTCPayServer.Client/BTCPayServer.Client.csproj +++ b/BTCPayServer.Client/BTCPayServer.Client.csproj @@ -29,7 +29,7 @@ - + diff --git a/BTCPayServer/BTCPayServer.csproj b/BTCPayServer/BTCPayServer.csproj index dbeb925e6..4ba70a98e 100644 --- a/BTCPayServer/BTCPayServer.csproj +++ b/BTCPayServer/BTCPayServer.csproj @@ -48,7 +48,7 @@ - + diff --git a/BTCPayServer/Controllers/UILNURLController.cs b/BTCPayServer/Controllers/UILNURLController.cs index 3bb8e7c7c..4364ebc10 100644 --- a/BTCPayServer/Controllers/UILNURLController.cs +++ b/BTCPayServer/Controllers/UILNURLController.cs @@ -369,7 +369,7 @@ namespace BTCPayServer } } - var descriptionHash = new uint256(Hashes.SHA256(Encoding.UTF8.GetBytes(metadata))); + var descriptionHash = new uint256(Hashes.SHA256(Encoding.UTF8.GetBytes(metadata)), false); LightningInvoice invoice; try {