diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-15 09:29:52 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-15 09:29:52 +0800 |
commit | c924a841c7a6661b3a609c16c447231f5ae951c8 (patch) | |
tree | 77b94bb5393e86d663813bef9b2699532d3a1972 /rpc/args.go | |
parent | 12fc590b34fba3391799fbdfd66ef029f7a551f4 (diff) | |
parent | 7299eb72e0c57d8bf7279cbf2544c266a3fd145b (diff) | |
download | dexon-c924a841c7a6661b3a609c16c447231f5ae951c8.tar dexon-c924a841c7a6661b3a609c16c447231f5ae951c8.tar.gz dexon-c924a841c7a6661b3a609c16c447231f5ae951c8.tar.bz2 dexon-c924a841c7a6661b3a609c16c447231f5ae951c8.tar.lz dexon-c924a841c7a6661b3a609c16c447231f5ae951c8.tar.xz dexon-c924a841c7a6661b3a609c16c447231f5ae951c8.tar.zst dexon-c924a841c7a6661b3a609c16c447231f5ae951c8.zip |
Merge branch 'develop' into bounty
Diffstat (limited to 'rpc/args.go')
-rw-r--r-- | rpc/args.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rpc/args.go b/rpc/args.go index 84b076d4a..12e3103bc 100644 --- a/rpc/args.go +++ b/rpc/args.go @@ -43,7 +43,7 @@ type PushTxArgs struct { func (obj *PushTxArgs) UnmarshalJSON(b []byte) (err error) { arg0 := "" - if err = json.Unmarshal(b, arg0); err == nil { + if err = json.Unmarshal(b, &arg0); err == nil { obj.Tx = arg0 return } @@ -82,7 +82,7 @@ type GetStateArgs struct { func (obj *GetStateArgs) UnmarshalJSON(b []byte) (err error) { arg0 := "" - if err = json.Unmarshal(b, arg0); err == nil { + if err = json.Unmarshal(b, &arg0); err == nil { obj.Address = arg0 return } @@ -114,7 +114,7 @@ type GetTxCountArgs struct { func (obj *GetTxCountArgs) UnmarshalJSON(b []byte) (err error) { arg0 := "" - if err = json.Unmarshal(b, arg0); err == nil { + if err = json.Unmarshal(b, &arg0); err == nil { obj.Address = arg0 return } |