File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -47,10 +47,10 @@ class ExecutionFramework
47
47
{
48
48
public:
49
49
ExecutionFramework ():
50
- m_sealEngineInit (),
51
- m_sealEngine (eth::ChainParams().createSealEngine()),
52
50
m_state (0 )
53
51
{
52
+ eth::NoProof::init ();
53
+ m_sealEngine.reset (eth::ChainParams ().createSealEngine ());
54
54
if (g_logVerbosity != -1 )
55
55
g_logVerbosity = 0 ;
56
56
// m_state.resetCurrent();
@@ -239,17 +239,6 @@ class ExecutionFramework
239
239
};
240
240
241
241
private:
242
- struct sealEngineInit
243
- {
244
- sealEngineInit ()
245
- {
246
- dev::eth::BasicAuthority::init ();
247
- dev::eth::NoProof::init ();
248
- }
249
- };
250
-
251
- sealEngineInit m_sealEngineInit;
252
-
253
242
template <class CppFunction , class ... Args>
254
243
auto callCppAndEncodeResult (CppFunction const & _cppFunction, Args const &... _arguments)
255
244
-> typename std::enable_if<std::is_void<decltype(_cppFunction(_arguments...))>::value, bytes>::type
You can’t perform that action at this time.
0 commit comments