fix: need to remove by ref

This commit is contained in:
Derrick Hammer 2024-01-06 13:15:45 -05:00
parent fdbc4cf7fc
commit 348b20ba4a
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ func (n *Node) Logger() *zap.Logger {
func (n *Node) Db() *bolt.DB { func (n *Node) Db() *bolt.DB {
if n.nodeConfig != nil { if n.nodeConfig != nil {
return &n.nodeConfig.DB return n.nodeConfig.DB
} }
return nil return nil
} }