aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/args.go
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/args.go')
-rw-r--r--rpc/args.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/rpc/args.go b/rpc/args.go
index 5b1c271cc..4bc36f5d9 100644
--- a/rpc/args.go
+++ b/rpc/args.go
@@ -279,11 +279,6 @@ func (args *CallArgs) UnmarshalJSON(b []byte) (err error) {
return NewDecodeParamError(err.Error())
}
- if len(ext.From) == 0 {
- return NewValidationError("from", "is required")
- }
- args.From = ext.From
-
if len(ext.To) == 0 {
return NewValidationError("to", "is required")
}