Skip to content

Commit e603728

Browse files
committed
build fix (2)
1 parent aa0b39a commit e603728

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

node/node.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6178,13 +6178,15 @@ void Node::Validator::OnContractVarChange(const Blob& key, const Blob& val, bool
61786178
{
61796179
// delete it
61806180
if (pV)
6181+
{
61816182
if (bTemporary)
61826183
pV->m_Deleted = true;
61836184
else
61846185
{
61856186
m_ValidatorSet.m_hv.reset();
61866187
m_ValidatorSet.m_mapValidators.Delete(*pV);
61876188
}
6189+
}
61886190

61896191
return;
61906192
}
@@ -7186,15 +7188,13 @@ void Node::Validator::CheckStateCurrent()
71867188
OnSigRequestReceived(iR, nullptr);
71877189
}
71887190

7189-
auto& ms = *rd.m_Multisig;
7190-
71917191
if (m_pMe->m_pR[iR].m_Sig)
71927192
{
71937193
auto& sig = *m_pMe->m_pR[iR].m_Sig;
71947194
if (sig.m_E != Zero)
71957195
{
71967196
// submit my signature
7197-
assert(ms.m_SigsRemaining);
7197+
assert(rd.m_Multisig->m_SigsRemaining);
71987198

71997199
// check the partial signature: skNonce + sig + skValidator*e == Zero
72007200

0 commit comments

Comments
 (0)