From 4b0951caec0bf3dcecaa40c4dc203aa526d10dc1 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Thu, 1 Nov 2018 12:54:25 +0900 Subject: [PATCH] trim destination in WalletSend --- BTCPayServer/Controllers/WalletsController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/BTCPayServer/Controllers/WalletsController.cs b/BTCPayServer/Controllers/WalletsController.cs index b7500bfe0..bd98a3bdc 100644 --- a/BTCPayServer/Controllers/WalletsController.cs +++ b/BTCPayServer/Controllers/WalletsController.cs @@ -256,6 +256,7 @@ namespace BTCPayServer.Controllers { try { + destination = destination?.Trim(); return new IDestination[] { BitcoinAddress.Create(destination, network) }; } catch