http://mmgen-wallet.i2p/project/mmgen/mmgen-wallet/commit/b0a4abd79a2ffc80ad09c77aa0741cc2d24a35f4
ret = b58chk_encode( bytes.fromhex(get_version_bytes(self.cfg.bip_proto, self.cfg.base_cfg.coin, public)) - + int.to_bytes(self.depth, length=1) + + int.to_bytes(self.depth, length=1 , byteorder='big' ) + self.par_print - + int.to_bytes(self.idx + (hardened_idx0 if self.hardened and self.depth else 0), length=4) + + int.to_bytes( + self.idx + (hardened_idx0 if self.hardened and self.depth else 0), + length = 4, + byteorder = 'big') + self.chaincode +...