OSDN Git Service

add get-consensus-nodes api (#159)
[bytom/vapor.git] / api / api.go
index 074e038..88f43e5 100644 (file)
@@ -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)