NewSigArgs arg change.
This commit is contained in:
parent
ad56aef5d2
commit
2642e091e9
|
@ -250,7 +250,7 @@ func (self *ethApi) Sign(req *shared.Request) (interface{}, error) {
|
||||||
|
|
||||||
|
|
||||||
func (self *ethApi) PushTx(req *shared.Request) (interface{}, error) {
|
func (self *ethApi) PushTx(req *shared.Request) (interface{}, error) {
|
||||||
args := new(NewTxArgs)
|
args := new(NewSigArgs)
|
||||||
if err := self.codec.Decode(req.Params, &args); err != nil {
|
if err := self.codec.Decode(req.Params, &args); err != nil {
|
||||||
return nil, shared.NewDecodeParamError(err.Error())
|
return nil, shared.NewDecodeParamError(err.Error())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue