rpc: set from. Closes #742

pull/748/head
obscuren 10 years ago
parent 2c2ddcbf88
commit 89fd752659
  1. 2
      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")
}

Loading…
Cancel
Save