From ca2e57390fb19ae224d86415386902f4cf7550e8 Mon Sep 17 00:00:00 2001 From: Jin Date: Thu, 10 Feb 2022 12:15:05 +0800 Subject: [PATCH 1/2] Expose web3 interface --- expose.go | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 expose.go diff --git a/expose.go b/expose.go new file mode 100644 index 000000000000..9f8e2fe8294b --- /dev/null +++ b/expose.go @@ -0,0 +1,5 @@ +package ethereum + +import "github.com/ethereum/go-ethereum/internal/web3ext" + +var Modules = web3ext.Modules From 29cefce14256e92977bdb1074ec6fa37116edc2d Mon Sep 17 00:00:00 2001 From: Jin Date: Thu, 10 Feb 2022 12:18:12 +0800 Subject: [PATCH 2/2] optimize c --- expose.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/expose.go b/expose.go index 9f8e2fe8294b..f63ffafaae92 100644 --- a/expose.go +++ b/expose.go @@ -1,3 +1,5 @@ +// Copyright (c) 2017-2022 The qitmeer developers + package ethereum import "github.com/ethereum/go-ethereum/internal/web3ext"