bump, add field to know if replaced

This commit is contained in:
nicolas.dorier
2018-01-10 18:40:53 +09:00
parent a33e20b46b
commit 983f34814f
4 changed files with 6 additions and 1 deletions

View File

@@ -86,6 +86,7 @@ namespace BTCPayServer.Controllers
m.TransactionId = payment.Outpoint.Hash.ToString();
m.ReceivedTime = payment.ReceivedTime;
m.TransactionLink = string.Format(paymentNetwork.BlockExplorerLink, m.TransactionId);
m.Replaced = !payment.Accounted;
return m;
})
.ToArray();