mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
signrawtransaction* should use up to date fedpegscript for peg-in signing
This commit is contained in:
parent
8bd702784b
commit
4829b3a88c
1 changed files with 1 additions and 2 deletions
|
|
@ -1001,8 +1001,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