mirror of
https://github.com/aljazceru/BTCPayServerPlugins.git
synced 2025-12-17 23:54:26 +01:00
update
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<PropertyGroup>
|
||||
<Product>Wabisabi Coinjoin</Product>
|
||||
<Description>Allows you to integrate your btcpayserver store with coinjoins.</Description>
|
||||
<Version>1.0.43</Version>
|
||||
<Version>1.0.44</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Plugin development properties -->
|
||||
|
||||
@@ -95,20 +95,19 @@ public class Nostr
|
||||
new NostrSubscriptionFilter()
|
||||
{
|
||||
Kinds = new[] {Kind},
|
||||
Since = DateTimeOffset.UtcNow.Subtract(TimeSpan.FromHours(1)),
|
||||
ExtensionData = new Dictionary<string, JsonElement>()
|
||||
{
|
||||
["#type"] = JsonSerializer.SerializeToElement(new[] {TypeTagValue}),
|
||||
["#network"] = JsonSerializer.SerializeToElement(new[] {network})
|
||||
}
|
||||
},
|
||||
Limit = 1000
|
||||
}
|
||||
}, true, cts.Token).ToListAsync(cancellationToken);
|
||||
|
||||
nostrClient.Dispose();
|
||||
|
||||
return result.Where(@event =>
|
||||
@event.PublicKey != ourPubKey &&
|
||||
@event.CreatedAt >= DateTimeOffset.UtcNow.Subtract(TimeSpan.FromHours(1)) &&
|
||||
@event.PublicKey != ourPubKey &&
|
||||
@event.Verify() &&
|
||||
@event.Tags.Any(tag =>
|
||||
tag.TagIdentifier == EndpointTagIdentifier &&
|
||||
|
||||
Reference in New Issue
Block a user