mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
s/d_params/dynafed_params/
This commit is contained in:
parent
1779956e69
commit
0fd39edf54
7 changed files with 28 additions and 28 deletions
|
|
@ -468,16 +468,16 @@ std::vector<CScript> GetValidFedpegScripts(const CBlockIndex* pblockindex, const
|
|||
const CBlockIndex* p_prev_epoch_start = pblockindex->GetAncestor(epoch_start_height-epoch_length);
|
||||
|
||||
if (p_current_epoch_start) {
|
||||
if (!p_current_epoch_start->d_params.IsNull()) {
|
||||
fedpegscripts.push_back(p_current_epoch_start->d_params.m_current.m_fedpegscript);
|
||||
if (!p_current_epoch_start->dynafed_params.IsNull()) {
|
||||
fedpegscripts.push_back(p_current_epoch_start->dynafed_params.m_current.m_fedpegscript);
|
||||
} else {
|
||||
fedpegscripts.push_back(params.fedpegScript);
|
||||
}
|
||||
}
|
||||
|
||||
if (p_prev_epoch_start) {
|
||||
if (!p_prev_epoch_start->d_params.IsNull()) {
|
||||
fedpegscripts.push_back(p_prev_epoch_start->d_params.m_current.m_fedpegscript);
|
||||
if (!p_prev_epoch_start->dynafed_params.IsNull()) {
|
||||
fedpegscripts.push_back(p_prev_epoch_start->dynafed_params.m_current.m_fedpegscript);
|
||||
} else {
|
||||
fedpegscripts.push_back(params.fedpegScript);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue