@@ -50,8 +50,7 @@ |
||
| 50 | 50 | rewind($stream); |
| 51 | 51 | |
| 52 | 52 | return $segwit ? |
| 53 | - self::parseSegwit($stream, $testnet) : |
|
| 54 | - self::parseLegacy($stream, $testnet); |
|
| 53 | + self::parseSegwit($stream, $testnet) : self::parseLegacy($stream, $testnet); |
|
| 55 | 54 | } |
| 56 | 55 | |
| 57 | 56 | public function serialize(): string |