mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-01-07 16:03:07 +00:00
18 lines
391 B
C#
18 lines
391 B
C#
using Core;
|
|
|
|
namespace GethPlugin
|
|
{
|
|
public static class CoreInterfaceExtensions
|
|
{
|
|
public static IGethNode StartGethNode(this CoreInterface ci, Action<IGethSetup> setup)
|
|
{
|
|
return Plugin(ci).StartGeth(setup);
|
|
}
|
|
|
|
private static GethPlugin Plugin(CoreInterface ci)
|
|
{
|
|
return ci.GetPlugin<GethPlugin>();
|
|
}
|
|
}
|
|
}
|