mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
trim destination in WalletSend
This commit is contained in:
@@ -256,6 +256,7 @@ namespace BTCPayServer.Controllers
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
destination = destination?.Trim();
|
||||||
return new IDestination[] { BitcoinAddress.Create(destination, network) };
|
return new IDestination[] { BitcoinAddress.Create(destination, network) };
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
|
|||||||
Reference in New Issue
Block a user