mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +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);
|
||||
}
|
||||
transactionOutput.DestinationAddress = transactionOutput.DestinationAddress.Trim();
|
||||
transactionOutput.DestinationAddress = transactionOutput.DestinationAddress?.Trim() ?? string.Empty;
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user