added console command

This commit is contained in:
Bas van Kervel
2015-06-08 12:43:58 +02:00
committed by Bas van Kervel
parent bbfa0a3dcb
commit 1b59f89095
5 changed files with 64 additions and 26 deletions

View File

@ -9,7 +9,7 @@ import (
)
const (
Web3Version = "1.0.0"
Web3ApiVersion = "1.0"
)
var (
@ -63,9 +63,8 @@ func (self *web3Api) Name() string {
return Web3ApiName
}
// Version of the API this instance provides
func (self *web3Api) Version() string {
return Web3Version
func (self *web3Api) ApiVersion() string {
return Web3ApiVersion
}
// Calculates the sha3 over req.Params.Data