mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Add fedpeg_program field in dynafed header
This commit is contained in:
parent
4ad2b8018d
commit
bd11097cec
14 changed files with 75 additions and 46 deletions
|
|
@ -50,6 +50,7 @@ uint256 DynaFedParamEntry::CalculateRoot() const
|
|||
std::vector<uint256> leaves;
|
||||
leaves.push_back(SerializeHash(m_signblockscript, SER_GETHASH, 0));
|
||||
leaves.push_back(SerializeHash(m_signblock_witness_limit, SER_GETHASH, 0));
|
||||
leaves.push_back(SerializeHash(m_fedpeg_program, SER_GETHASH, 0));
|
||||
leaves.push_back(SerializeHash(m_fedpegscript, SER_GETHASH, 0));
|
||||
leaves.push_back(SerializeHash(m_extension_space, SER_GETHASH, 0));
|
||||
return ComputeFastMerkleRoot(leaves);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue