| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 11 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | 14 | public function __construct(NetworkInterface $base, $cashAddressPrefix) { |
|
| 22 | 14 | parent::__construct( |
|
| 23 | 14 | $base->getAddressByte(), |
|
| 24 | 14 | $base->getP2shByte(), |
|
| 25 | 14 | $base->getPrivByte(), |
|
| 26 | 14 | $base->isTestnet() |
|
| 27 | ); |
||
| 28 | |||
| 29 | 14 | $this->setHDPrivByte($base->getHDPrivByte()); |
|
| 30 | 14 | $this->setHDPubByte($base->getHDPubByte()); |
|
| 31 | 14 | $this->setNetMagicBytes($base->getNetMagicBytes()); |
|
| 32 | 14 | $this->cashAddressPrefix = $cashAddressPrefix; |
|
| 33 | 14 | } |
|
| 34 | |||
| 42 |