Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LukaszRozmej committed Dec 11, 2024
1 parent 93d87d0 commit fafa875
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Cipher": "test"
},
"JsonRpc": {
"EnabledModules": "Eth,Debug"
"EnabledModules": "Eth,Debug,"
},
"Discovery": {
"Concurrency": "4",
Expand All @@ -14,4 +14,4 @@
{
"IndexLevelBucketSizes" : [16, 16, 16]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ private void EnableModule<TOther>() where TOther : IRpcModule
{
if (!_jsonRpcConfig.EnabledModules.Contains(rpcModuleAttribute.ModuleType))
{
_jsonRpcConfig.EnabledModules = _jsonRpcConfig.EnabledModules.Union(new[] { rpcModuleAttribute.ModuleType }).ToArray();
_jsonRpcConfig.EnabledModules = _jsonRpcConfig.EnabledModules.Union([rpcModuleAttribute.ModuleType]).ToArray();
}
}
}
Expand Down

0 comments on commit fafa875

Please sign in to comment.