Coin Selection: Confirmed filter (#2467)

Allows provides confirmation count to Greenfield UTXO GET api
This commit is contained in:
Andrew Camilleri
2021-04-20 04:02:06 +02:00
committed by GitHub
parent dfd4c967b7
commit 7d1761de4f
7 changed files with 41 additions and 15 deletions

View File

@@ -239,6 +239,7 @@ namespace BTCPayServer.Controllers.GreenField
coin.OutPoint.Hash.ToString()),
Timestamp = coin.Timestamp,
KeyPath = coin.KeyPath,
Confirmations = coin.Confirmations,
Address = network.NBXplorerNetwork.CreateAddress(derivationScheme.AccountDerivation, coin.KeyPath, coin.ScriptPubKey).ToString()
};
}).ToList()