mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-05 23:24:27 +01:00
Simplify code (#6761)
This commit is contained in:
@@ -360,9 +360,7 @@ namespace BTCPayServer.Controllers.Greenfield
|
||||
Timestamp = coin.Timestamp,
|
||||
KeyPath = coin.KeyPath,
|
||||
Confirmations = coin.Confirmations,
|
||||
Address = network.NBXplorerNetwork
|
||||
.CreateAddress(derivationScheme.AccountDerivation, coin.KeyPath, coin.ScriptPubKey)
|
||||
.ToString()
|
||||
Address = coin.Address.ToString()
|
||||
};
|
||||
}).ToList()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user