From 89fd752659c5c11b243c30f739781d723cac82c2 Mon Sep 17 00:00:00 2001 From: obscuren Date: Sat, 18 Apr 2015 02:32:55 +0200 Subject: [PATCH] rpc: set from. Closes #742 --- rpc/args.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rpc/args.go b/rpc/args.go index 4bc36f5d94..4b3840285d 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") }