Skip to content

Commit 2eb7bd5

Browse files
committed
fix: correct mayachain testnet address (smaya prefix, captured from emulator)
1 parent 4acc81a commit 2eb7bd5

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/test_msg_mayachain_getaddress.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,12 @@
1010

1111
class TestMsgMayaChainGetAddress(common.KeepKeyTest):
1212

13-
@unittest.skip("TODO: capture expected address from emulator (smaya prefix, not tthor)")
1413
def test_mayachain_get_address(self):
1514
self.requires_firmware("7.9.1")
1615
self.requires_fullFeature()
1716
self.setup_mnemonic_nopin_nopassphrase()
1817
address = self.client.mayachain_get_address(parse_path(DEFAULT_BIP32_PATH), testnet=True)
19-
# Address uses smaya prefix for testnet, not tthor
20-
self.assertRegex(address, r'^smaya1')
18+
self.assertEqual(address, "smaya1ls33ayg26kmltw7jjy55p32ghjna09zp2mf0av")
2119

2220
if __name__ == '__main__':
2321
unittest.main()

0 commit comments

Comments
 (0)