diff options
author | Bas van Kervel <bas@ethdev.com> | 2015-06-08 20:50:11 +0800 |
---|---|---|
committer | Bas van Kervel <basvankervel@gmail.com> | 2015-06-11 20:01:40 +0800 |
commit | d2a87f6f72b1582fd6e220e2a00d7c3f5a6df335 (patch) | |
tree | 251442afd362566e0b7f9e0cfb66fdcda4324634 /rpc/api/miner.go | |
parent | 4b9b633dfe8c36d3a8909024ff23a1cdedce44d8 (diff) | |
download | dexon-d2a87f6f72b1582fd6e220e2a00d7c3f5a6df335.tar dexon-d2a87f6f72b1582fd6e220e2a00d7c3f5a6df335.tar.gz dexon-d2a87f6f72b1582fd6e220e2a00d7c3f5a6df335.tar.bz2 dexon-d2a87f6f72b1582fd6e220e2a00d7c3f5a6df335.tar.lz dexon-d2a87f6f72b1582fd6e220e2a00d7c3f5a6df335.tar.xz dexon-d2a87f6f72b1582fd6e220e2a00d7c3f5a6df335.tar.zst dexon-d2a87f6f72b1582fd6e220e2a00d7c3f5a6df335.zip |
added net API
Diffstat (limited to 'rpc/api/miner.go')
-rw-r--r-- | rpc/api/miner.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc/api/miner.go b/rpc/api/miner.go index 0e2ccf503..b22c4b7ad 100644 --- a/rpc/api/miner.go +++ b/rpc/api/miner.go @@ -13,7 +13,7 @@ const ( ) var ( -// mapping between methods and handlers + // mapping between methods and handlers MinerMapping = map[string]minerhandler{ "miner_hashrate": (*miner).Hashrate, "miner_makeDAG": (*miner).MakeDAG, @@ -140,4 +140,4 @@ func (self *miner) MakeDAG(req *shared.Request) (interface{}, error) { return true, nil } return false, err -}
\ No newline at end of file +} |