mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
Fixing bug of uncorrectly unassigned addresses
This commit is contained in:
parent
92caa98dfb
commit
4f39a8060c
@ -37,7 +37,7 @@ services:
|
||||
- postgres
|
||||
|
||||
nbxplorer:
|
||||
image: nicolasdorier/nbxplorer:1.0.0.60
|
||||
image: nicolasdorier/nbxplorer:1.0.0.61
|
||||
ports:
|
||||
- "32838:32838"
|
||||
expose:
|
||||
|
@ -196,7 +196,7 @@ namespace BTCPayServer.Services.Invoices
|
||||
continue;
|
||||
var historical = new HistoricalAddressInvoiceData();
|
||||
historical.InvoiceDataId = invoiceId;
|
||||
historical.SetAddress(address.Value.DepositAddress, cryptoCode);
|
||||
historical.SetAddress(address.Value.DepositAddress, address.Value.CryptoCode);
|
||||
historical.UnAssigned = DateTimeOffset.UtcNow;
|
||||
context.Attach(historical);
|
||||
context.Entry(historical).Property(o => o.UnAssigned).IsModified = true;
|
||||
|
Loading…
Reference in New Issue
Block a user