rpc: to in Call no longer required. Fixed eth_estimateGas

This commit is contained in:
Jeffrey Wilcke
2015-07-27 13:44:37 +02:00
parent fa286688ab
commit d261c3f455
3 changed files with 4 additions and 8 deletions

View File

@ -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