mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-20 13:34:37 +01:00
Better error message for seed signing (Fix #999)
This commit is contained in:
parent
d9cd00f49a
commit
3fc9d0c010
1 changed files with 1 additions and 1 deletions
|
@ -531,7 +531,7 @@ namespace BTCPayServer.Controllers
|
|||
var balanceChange = psbt.GetBalance(settings.AccountDerivation, signingKey, rootedKeyPath);
|
||||
if (balanceChange == Money.Zero)
|
||||
{
|
||||
ModelState.AddModelError(nameof(viewModel.SeedOrKey), "This seed does not seem to be able to sign this transaction. Either this is the wrong key, or Wallet Settings have not the correct account path in the wallet settings.");
|
||||
ModelState.AddModelError(nameof(viewModel.SeedOrKey), "This seed is unable to sign this transaction. Either the seed is incorrect, or the account path has not been properly configured in the Wallet Settings.");
|
||||
return View(viewModel);
|
||||
}
|
||||
psbt.SignAll(settings.AccountDerivation, signingKey, rootedKeyPath);
|
||||
|
|
Loading…
Add table
Reference in a new issue