OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
up (#579)
[bytom/vapor.git]
/
node
/
node.go
diff --git
a/node/node.go
b/node/node.go
index
61e2b8c
..
1835e34
100644
(file)
--- a/
node/node.go
+++ b/
node/node.go
@@
-326,3
+326,8
@@
func (n *Node) RunForever() {
n.Stop()
})
}
+
+// GetChain return the chain
+func (n *Node) GetChain() *protocol.Chain {
+ return n.chain
+}