aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/args.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-18 08:32:55 +0800
committerobscuren <geffobscura@gmail.com>2015-04-18 08:32:55 +0800
commit89fd752659c5c11b243c30f739781d723cac82c2 (patch)
treeede54b7c4e2fdbec674bbd610c47dca234d0f35d /rpc/args.go
parent2c2ddcbf8885bf509741105ec57967fe78c744fe (diff)
downloadgo-tangerine-89fd752659c5c11b243c30f739781d723cac82c2.tar
go-tangerine-89fd752659c5c11b243c30f739781d723cac82c2.tar.gz
go-tangerine-89fd752659c5c11b243c30f739781d723cac82c2.tar.bz2
go-tangerine-89fd752659c5c11b243c30f739781d723cac82c2.tar.lz
go-tangerine-89fd752659c5c11b243c30f739781d723cac82c2.tar.xz
go-tangerine-89fd752659c5c11b243c30f739781d723cac82c2.tar.zst
go-tangerine-89fd752659c5c11b243c30f739781d723cac82c2.zip
rpc: set from. Closes #742
Diffstat (limited to 'rpc/args.go')
-rw-r--r--rpc/args.go2
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")
}