|
@@ -18,9 +18,9 @@ |
|
|
block discarded – undo |
|
18
|
18
|
public string $parentFingerprint; |
|
19
|
19
|
public int $childNumber; |
|
20
|
20
|
public string $chainCode; |
|
21
|
|
- public PrivateKey|S256Point $key; |
|
|
21
|
+ public PrivateKey | S256Point $key; |
|
22
|
22
|
|
|
23
|
|
- public function __construct(Version $version, int $depth, string $parentFingerprint, int $childNumber, string $chainCode, PrivateKey|S256Point $key) |
|
|
23
|
+ public function __construct(Version $version, int $depth, string $parentFingerprint, int $childNumber, string $chainCode, PrivateKey | S256Point $key) |
|
24
|
24
|
{ |
|
25
|
25
|
if (0 === $depth && self::MASTER_FINGERPRINT !== $parentFingerprint) { |
|
26
|
26
|
throw new \InvalidArgumentException('An extended key of depth 0 cannot have a parent fingerprint'); |
Please login to merge, or discard this patch.