mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
signrawtransaction* should use up to date fedpegscript for peg-in signing
This commit is contained in:
parent
47db75e39f
commit
1779956e69
1 changed files with 1 additions and 2 deletions
|
|
@ -988,8 +988,7 @@ UniValue SignTransaction(interfaces::Chain& chain, CMutableTransaction& mtx, con
|
|||
// Script verification errors
|
||||
UniValue vErrors(UniValue::VARR);
|
||||
|
||||
// TODO Have fedpegscript passed in optionally or perhaps always
|
||||
const std::vector<CScript> fedpegscripts = {Params().GetConsensus().fedpegScript};
|
||||
const std::vector<CScript> fedpegscripts = GetValidFedpegScripts(chainActive.Tip(), Params().GetConsensus(), true /* nextblock_validation */);
|
||||
|
||||
// ELEMENTS:
|
||||
// Track an immature peg-in that's otherwise valid, give warning
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue