@@ -119,10 +119,10 @@ |
||
| 119 | 119 | |
| 120 | 120 | public function isP2SH(): bool |
| 121 | 121 | { |
| 122 | - return 3 === \count($this->cmds) |
|
| 122 | + return 3 === \count($this->cmds) |
|
| 123 | 123 | && $this->cmds[0] === OpCodes::OP_HASH160->value |
| 124 | 124 | && \is_string($this->cmds[1]) |
| 125 | - && 20 === \strlen($this->cmds[1]) |
|
| 125 | + && 20 === \strlen($this->cmds[1]) |
|
| 126 | 126 | && $this->cmds[2] === OpCodes::OP_EQUAL->value; |
| 127 | 127 | } |
| 128 | 128 | |