Update NBXplorer

This commit is contained in:
nicolas.dorier
2019-11-15 18:53:20 +09:00
parent 89539fca01
commit 2bfea50014
6 changed files with 11 additions and 13 deletions

View File

@@ -21,8 +21,8 @@ namespace BTCPayServer.Data
public static bool SetBlob(this PaymentRequestData paymentRequestData, PaymentRequestBlob blob)
{
var original = new Serializer(Network.Main).ToString(paymentRequestData.GetBlob());
var newBlob = new Serializer(Network.Main).ToString(blob);
var original = new Serializer(null).ToString(paymentRequestData.GetBlob());
var newBlob = new Serializer(null).ToString(blob);
if (original == newBlob)
return false;
paymentRequestData.Blob = ZipUtils.Zip(newBlob);