mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 22:44:29 +01:00
Do not crash if empty destination is entered on WalletSend
This commit is contained in:
@@ -387,7 +387,7 @@ namespace BTCPayServer.Controllers
|
|||||||
{
|
{
|
||||||
subtractFeesOutputsCount.Add(i);
|
subtractFeesOutputsCount.Add(i);
|
||||||
}
|
}
|
||||||
transactionOutput.DestinationAddress = transactionOutput.DestinationAddress.Trim();
|
transactionOutput.DestinationAddress = transactionOutput.DestinationAddress?.Trim() ?? string.Empty;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user