From d261c3f455b880bfdbefe657df188dc095e2f508 Mon Sep 17 00:00:00 2001 From: Jeffrey Wilcke Date: Mon, 27 Jul 2015 13:44:37 +0200 Subject: rpc: to in Call no longer required. Fixed eth_estimateGas --- rpc/api/eth_args.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'rpc/api/eth_args.go') 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 -- cgit v1.2.3