Beispiel #1
0
    def test_deserialize_drkp(self):
        xtype, depth, fpr, child_number, c, K = deserialize_drkp(self.drkp)

        self.assertEqual(0, xtype)
        self.assertEqual(1, depth)
        self.assertEqual(self.master_fpr, fpr.encode('hex'))
        self.assertEqual(self.child_num, child_number.encode('hex'))
        self.assertEqual(self.chain_code, c.encode('hex'))
        self.assertEqual(self.pub_key, K.encode('hex'))
 def test_deserialize_drkp(self):
     self.check_deserialized(deserialize_drkp(self.drkp), False)