New DataArgs and eth_sendRawTransaction

This commit is contained in:
SilentCicero
2015-06-16 12:28:10 -04:00
parent e952bb65e7
commit 7ec8c257ff
5 changed files with 64 additions and 3 deletions

View File

@ -250,7 +250,7 @@ func (self *ethApi) Sign(req *shared.Request) (interface{}, error) {
func (self *ethApi) PushTx(req *shared.Request) (interface{}, error) {
args := new(NewSigArgs)
args := new(NewDataArgs)
if err := self.codec.Decode(req.Params, &args); err != nil {
return nil, shared.NewDecodeParamError(err.Error())
}