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
add get-consensus-nodes api (#159)
[bytom/vapor.git]
/
api
/
api.go
diff --git
a/api/api.go
b/api/api.go
index
074e038
..
88f43e5
100644
(file)
--- a/
api/api.go
+++ b/
api/api.go
@@
-301,6
+301,8
@@
func (a *API) buildHandler() {
m.Handle("/get-merkle-proof", jsonHandler(a.getMerkleProof))
+ m.Handle("/get-vote-result", jsonHandler(a.getVoteResult))
+
m.HandleFunc("/websocket-subscribe", a.websocketHandler)
handler := walletHandler(m, walletEnable)