示例#1
0
 def test_decode_8_bytes_account_index(self):
     self.assertEqual(666666, ss58_decode_account_index('848Gh2GcGaZia'))
示例#2
0
 def test_decode_2_bytes_account_index(self):
     self.assertEqual(256, ss58_decode_account_index('3xygo'))
示例#3
0
 def test_decode_4_bytes_account_index(self):
     self.assertEqual(67305985, ss58_decode_account_index('zswfoZa'))
示例#4
0
 def test_decode_1_byte_account_index(self):
     self.assertEqual(1, ss58_decode_account_index('F7NZ'))