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