diff --git a/src/Contract.php b/src/Contract.php index 72119ac..468bd5b 100644 --- a/src/Contract.php +++ b/src/Contract.php @@ -397,7 +397,6 @@ class Contract if (count($arguments) > 0) { $transaction = $arguments[0]; } - $transaction['to'] = ''; $transaction['data'] = '0x' . $this->bytecode . Utils::stripZero($data); $this->eth->sendTransaction($transaction, function ($err, $transaction) use ($callback){ @@ -622,4 +621,4 @@ class Contract return $functionData; } } -} \ No newline at end of file +}