aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/eth_args.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2015-07-27 19:44:37 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-07-29 21:12:12 +0800
commitd261c3f455b880bfdbefe657df188dc095e2f508 (patch)
tree31e6636527f399608eb29804c5fc024fd8ac2104 /rpc/api/eth_args.go
parentfa286688ab55ba5df96303c6c456ea7b7688ba2d (diff)
downloaddexon-d261c3f455b880bfdbefe657df188dc095e2f508.tar
dexon-d261c3f455b880bfdbefe657df188dc095e2f508.tar.gz
dexon-d261c3f455b880bfdbefe657df188dc095e2f508.tar.bz2
dexon-d261c3f455b880bfdbefe657df188dc095e2f508.tar.lz
dexon-d261c3f455b880bfdbefe657df188dc095e2f508.tar.xz
dexon-d261c3f455b880bfdbefe657df188dc095e2f508.tar.zst
dexon-d261c3f455b880bfdbefe657df188dc095e2f508.zip
rpc: to in Call no longer required. Fixed eth_estimateGas
Diffstat (limited to 'rpc/api/eth_args.go')
-rw-r--r--rpc/api/eth_args.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/rpc/api/eth_args.go b/rpc/api/eth_args.go
index ae394e7ec..2f864b5c1 100644
--- a/rpc/api/eth_args.go
+++ b/rpc/api/eth_args.go
@@ -469,10 +469,6 @@ func (args *CallArgs) UnmarshalJSON(b []byte) (err error) {
}
args.From = ext.From
-
- if len(ext.To) == 0 {
- return shared.NewValidationError("to", "is required")
- }
args.To = ext.To
var num *big.Int