mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
After a utxo rescan, the cached balance should be invalidated
This commit is contained in:
@@ -1158,6 +1158,7 @@ namespace BTCPayServer.Controllers
|
||||
{
|
||||
await explorer.ScanUTXOSetAsync(paymentMethod.AccountDerivation, vm.BatchSize, vm.GapLimit,
|
||||
vm.StartingIndex);
|
||||
_walletProvider.GetWallet(walletId.CryptoCode).InvalidateCache(paymentMethod.AccountDerivation);
|
||||
}
|
||||
catch (NBXplorerException ex) when (ex.Error.Code == "scanutxoset-in-progress")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user