The signing context should not be passed to PSBT screen

This commit is contained in:
nicolas.dorier
2020-05-25 07:05:01 +09:00
parent 9e9b5945fe
commit cccf3ca617
6 changed files with 16 additions and 20 deletions

View File

@@ -677,8 +677,7 @@ namespace BTCPayServer.Controllers
return RedirectToWalletPSBT(new WalletPSBTViewModel()
{
PSBT = psbt.PSBT.ToBase64(),
FileName = name,
SigningContext = signingContext
FileName = name
});
default:
return View(vm);
@@ -801,7 +800,6 @@ namespace BTCPayServer.Controllers
new KeyValuePair<string, string>("fileName", vm.FileName)
}
};
AddSigningContext(redirectVm, vm.SigningContext);
return View("PostRedirect", redirectVm);
}