From e9ad5111345a818ec4adbfa10e17568436df67df Mon Sep 17 00:00:00 2001 From: YJ Date: Tue, 8 Oct 2019 16:21:46 +0200 Subject: [PATCH] fix #224: decrease frame size to 1024, set multipart bool (#225) * fix: decrease frame size to 1024, set multipart bool * revert irrelevant change * fix: revert multipart indicator --- packages/react-qr/src/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-qr/src/constants.ts b/packages/react-qr/src/constants.ts index 9c314cb7..c5008612 100644 --- a/packages/react-qr/src/constants.ts +++ b/packages/react-qr/src/constants.ts @@ -3,7 +3,7 @@ // of the Apache-2.0 license. See the LICENSE file for details. const ADDRESS_PREFIX = 'substrate'; -const FRAME_SIZE = 2048; +const FRAME_SIZE = 1024; const SUBSTRATE_ID = new Uint8Array([0x53]); const CRYPTO_SR25519 = new Uint8Array([0x01]); const CMD_SIGN_TX = new Uint8Array([0]);