Fix old crowdfunding invoices

This commit is contained in:
nicolas.dorier
2019-02-22 17:51:38 +09:00
parent 3ef5bfb6eb
commit 8ae5a9c1f7
3 changed files with 4 additions and 2 deletions

View File

@@ -70,6 +70,7 @@ namespace BTCPayServer.Controllers
logs.Write("Creation of invoice starting");
var entity = new InvoiceEntity
{
Version = InvoiceEntity.Lastest_Version,
InvoiceTime = DateTimeOffset.UtcNow
};