mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
Small esthetic refacotring
This commit is contained in:
@@ -330,20 +330,7 @@ namespace BTCPayServer.Controllers
|
||||
vm.SigningContext.OriginalPSBT = psbt.ToBase64();
|
||||
proposedPayjoin.Finalize();
|
||||
var hash = proposedPayjoin.ExtractTransaction().GetHash();
|
||||
_EventAggregator.Publish(new UpdateTransactionLabel()
|
||||
{
|
||||
WalletId = walletId,
|
||||
TransactionLabels = new Dictionary<uint256, List<(string color, string label)>>()
|
||||
{
|
||||
{
|
||||
hash,
|
||||
new List<(string color, string label)>
|
||||
{
|
||||
UpdateTransactionLabel.PayjoinLabelTemplate()
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
_EventAggregator.Publish(new UpdateTransactionLabel(walletId, hash, UpdateTransactionLabel.PayjoinLabelTemplate()));
|
||||
TempData.SetStatusMessageModel(new StatusMessageModel()
|
||||
{
|
||||
Severity = StatusMessageModel.StatusSeverity.Success,
|
||||
|
||||
Reference in New Issue
Block a user