mirror of
https://github.com/aljazceru/BTCPayServerPlugins.git
synced 2025-12-17 07:34:24 +01:00
log issue
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<PropertyGroup>
|
||||
<Product>Coinjoin</Product>
|
||||
<Description>Allows you to integrate your btcpayserver store with coinjoins.</Description>
|
||||
<Version>1.0.90</Version>
|
||||
<Version>1.0.91</Version>
|
||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
@@ -190,7 +190,17 @@ public class Smartifier
|
||||
var smartCoin = await Coins.GetOrAdd(coin.OutPoint, async point =>
|
||||
{
|
||||
utxoLabels.TryGetValue(coin.OutPoint, out var labels);
|
||||
var pubKey = DerivationScheme.GetChild(coin.KeyPath).GetExtPubKeys().First().PubKey;
|
||||
PubKey pubKey;
|
||||
try
|
||||
{
|
||||
pubKey = DerivationScheme.GetChild(coin.KeyPath).GetExtPubKeys().First().PubKey;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
_logger.LogError(e, $"REPORT THIS CRASH! Derivnull? {DerivationScheme is null}, coinpath?{coin.KeyPath is null} ");
|
||||
|
||||
throw;
|
||||
}
|
||||
//if there is no account key path, it most likely means this is a watch only wallet. Fake the key path
|
||||
var kp = _accountKeyPath?.Derive(coin.KeyPath).KeyPath ?? new KeyPath(0,0,0,0,0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user