mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 22:25:28 +01:00
Do not crash if empty destination is entered on WalletSend
This commit is contained in:
parent
33703b83a3
commit
579e0d2e09
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ namespace BTCPayServer.Controllers
|
|||
{
|
||||
subtractFeesOutputsCount.Add(i);
|
||||
}
|
||||
transactionOutput.DestinationAddress = transactionOutput.DestinationAddress.Trim();
|
||||
transactionOutput.DestinationAddress = transactionOutput.DestinationAddress?.Trim() ?? string.Empty;
|
||||
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue