diff options
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/args.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rpc/args.go b/rpc/args.go index 4bc36f5d9..4b3840285 100644 --- a/rpc/args.go +++ b/rpc/args.go @@ -279,6 +279,8 @@ func (args *CallArgs) UnmarshalJSON(b []byte) (err error) { return NewDecodeParamError(err.Error()) } + args.From = ext.From + if len(ext.To) == 0 { return NewValidationError("to", "is required") } |