Fix, allow rescan if other crypto nodes are not synched

This commit is contained in:
nicolas.dorier 2018-11-04 22:46:27 +09:00
parent b423b4eec1
commit 676a914c40

View file

@ -279,7 +279,7 @@ namespace BTCPayServer.Controllers
return NotFound();
var vm = new RescanWalletModel();
vm.IsFullySync = _dashboard.IsFullySynched();
vm.IsFullySync = _dashboard.IsFullySynched(walletId.CryptoCode, out var unused);
// We need to ensure it is segwit,
// because hardware wallet support need the parent transactions to sign, which NBXplorer don't have. (Nor does a pruned node)
vm.IsSegwit = paymentMethod.DerivationStrategyBase.IsSegwit();