mirror of
https://github.com/aljazceru/BTCPayServerPlugins.git
synced 2025-12-19 08:34:26 +01:00
fix smartifier bug
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Product>Wabisabi Coinjoin</Product>
|
<Product>Wabisabi Coinjoin</Product>
|
||||||
<Description>Allows you to integrate your btcpayserver store with coinjoins.</Description>
|
<Description>Allows you to integrate your btcpayserver store with coinjoins.</Description>
|
||||||
<Version>1.0.24</Version>
|
<Version>1.0.26</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<!-- Plugin development properties -->
|
<!-- Plugin development properties -->
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ public class Smartifier
|
|||||||
var tx = await Transactions.GetOrAdd(coin.OutPoint.Hash, async uint256 =>
|
var tx = await Transactions.GetOrAdd(coin.OutPoint.Hash, async uint256 =>
|
||||||
{
|
{
|
||||||
var unsmartTx = await CachedTransactions[coin.OutPoint.Hash];
|
var unsmartTx = await CachedTransactions[coin.OutPoint.Hash];
|
||||||
if (unsmartTx is null)
|
if (unsmartTx?.Transaction is null)
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user