OSDN Git Service

up (#579)
[bytom/vapor.git] / node / node.go
index 61e2b8c..1835e34 100644 (file)
@@ -326,3 +326,8 @@ func (n *Node) RunForever() {
                n.Stop()
        })
 }
+
+// GetChain return the chain
+func (n *Node) GetChain() *protocol.Chain {
+       return n.chain
+}