There was an error while loading. Please reload this page.
1 parent 13233fa commit a5f7eeeCopy full SHA for a5f7eee
1 file changed
tests/test_msg_ton_signtx.py
@@ -227,13 +227,13 @@ def test_ton_sign_with_empty_memo(self):
227
self.assertEqual(len(resp.signature), 64)
228
229
def test_ton_sign_with_long_memo(self):
230
- """Memo of 255 characters (near max 256) should be accepted."""
+ """Memo of 120 characters (near max_size 121) should be accepted."""
231
self.requires_fullFeature()
232
self.setup_mnemonic_allallall()
233
234
dest_addr = make_ton_address()
235
raw_tx = hashlib.sha256(b'test-ton-long-memo').digest() * 2 # 64 bytes
236
- long_memo = "A" * 255
+ long_memo = "A" * 120
237
238
msg = ton_messages.TonSignTx(
239
address_n=parse_path(TON_PATH),
0 commit comments