From 348b20ba4a993d788ce416ff474d64fa9764ba8e Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 6 Jan 2024 13:15:45 -0500 Subject: [PATCH] fix: need to remove by ref --- node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node.go b/node.go index 522e897..3d5b2fd 100644 --- a/node.go +++ b/node.go @@ -67,7 +67,7 @@ func (n *Node) Logger() *zap.Logger { func (n *Node) Db() *bolt.DB { if n.nodeConfig != nil { - return &n.nodeConfig.DB + return n.nodeConfig.DB } return nil }