@@ -154,6 +154,6 @@ |
||
| 154 | 154 | */ |
| 155 | 155 | public function toRequest() |
| 156 | 156 | { |
| 157 | - return new Request(null, MiningClient::MINING_SUBSCRIBE, [$this->job_id, $this->prevhash, $this->coinb1, $this->coinb2, $this->merkle_branch, $this->version, $this->nbits, $this->ntime, $this->clean_jobs]); |
|
| 157 | + return new Request(null, MiningClient::MINING_SUBSCRIBE, [ $this->job_id, $this->prevhash, $this->coinb1, $this->coinb2, $this->merkle_branch, $this->version, $this->nbits, $this->ntime, $this->clean_jobs ]); |
|
| 158 | 158 | } |
| 159 | 159 | } |
@@ -34,6 +34,6 @@ |
||
| 34 | 34 | */ |
| 35 | 35 | public function toRequest() |
| 36 | 36 | { |
| 37 | - return new Request(null, MiningClient::SET_DIFFICULTY, [$this->difficulty]); |
|
| 37 | + return new Request(null, MiningClient::SET_DIFFICULTY, [ $this->difficulty ]); |
|
| 38 | 38 | } |
| 39 | 39 | } |