From 1f6d64b91c869cd7e058fd80b0f8089e680d2108 Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Fri, 29 May 2015 19:38:14 -0400 Subject: [PATCH] rpc: genesis route --- rpc/core/routes.go | 1 + 1 file changed, 1 insertion(+) diff --git a/rpc/core/routes.go b/rpc/core/routes.go index e136a0100..f65d58e23 100644 --- a/rpc/core/routes.go +++ b/rpc/core/routes.go @@ -8,6 +8,7 @@ var Routes = map[string]*rpc.RPCFunc{ "status": rpc.NewRPCFunc(Status, []string{}), "net_info": rpc.NewRPCFunc(NetInfo, []string{}), "blockchain": rpc.NewRPCFunc(BlockchainInfo, []string{"minHeight", "maxHeight"}), + "genesis": rpc.NewRPCFunc(Genesis, []string{}), "get_block": rpc.NewRPCFunc(GetBlock, []string{"height"}), "get_account": rpc.NewRPCFunc(GetAccount, []string{"address"}), "get_storage": rpc.NewRPCFunc(GetStorage, []string{"address", "key"}),