We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75fd518 commit 68daddbCopy full SHA for 68daddb
1 file changed
src/llmq/dkgsession.cpp
@@ -47,7 +47,7 @@ void SetSimulatedDKGErrorRate(DKGError::type type, double rate)
47
48
double GetSimulatedErrorRate(DKGError::type type)
49
{
50
- if (std23::to_underlying(type) >= DKGError::type::_COUNT) return 0;
+ if (type >= DKGError::type::_COUNT) return 0;
51
return simDkgErrorMap[std23::to_underlying(type)];
52
}
53
0 commit comments