aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/utils.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/utils.go b/core/utils.go
index a3da340..f6be461 100644
--- a/core/utils.go
+++ b/core/utils.go
@@ -34,6 +34,10 @@ import (
// it to core/utils package.
type NodeSetCache = utils.NodeSetCache
+// NewNodeSetCache is function alias to avoid fullnode compile error when moving
+// it to core/utils package.
+var NewNodeSetCache = utils.NewNodeSetCache
+
var (
debug = false
// ErrEmptyTimestamps would be reported if Block.timestamps is empty.