Do not crash if derivation strategy is empty

This commit is contained in:
nicolas.dorier
2018-11-17 01:09:28 +09:00
parent 4350785cef
commit 6f276ac1bc

View File

@@ -163,6 +163,7 @@ namespace BTCPayServer.Controllers
// - The user is clicking on continue without changing anything
(!vm.Confirmation && willBeExcluded == wasExcluded);
showAddress = showAddress && strategy != null;
if (!showAddress)
{
try