Fix: Adding a label to a base58 addresses in the Send Wallet screen wasn't working (#6011)

This commit is contained in:
Nicolas Dorier
2024-05-27 23:16:51 +09:00
committed by GitHub
parent 1374213308
commit d8d36cf4c7
2 changed files with 2 additions and 1 deletions

View File

@@ -750,7 +750,7 @@ namespace BTCPayServer.Controllers
foreach (var transactionOutput in vm.Outputs.Where(output => output.Labels?.Any() is true))
{
var labels = transactionOutput.Labels.Where(s => !string.IsNullOrWhiteSpace(s)).ToArray();
var walletObjectAddress = new WalletObjectId(walletId, WalletObjectData.Types.Address, transactionOutput.DestinationAddress.ToLowerInvariant());
var walletObjectAddress = new WalletObjectId(walletId, WalletObjectData.Types.Address, transactionOutput.DestinationAddress);
var obj = await WalletRepository.GetWalletObject(walletObjectAddress);
if (obj is null)
{