mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-24 09:24:21 +01:00
Update NBXplorer
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user