Skip to content

Commit

Permalink
chore: increase CHUNK_SIZE
Browse files Browse the repository at this point in the history
  • Loading branch information
dj8yf0μl committed Jan 18, 2024
1 parent 946e391 commit fa6aada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const INS_GET_VERSION: u8 = 6; // Instruction code to get app version from the L
const INS_SIGN_TRANSACTION: u8 = 2; // Instruction code to sign a transaction on the Ledger
const NETWORK_ID: u8 = 'W' as u8; // Instruction parameter 2
const RETURN_CODE_OK: u16 = 36864; // APDUAnswer.retcode which means success from Ledger
const CHUNK_SIZE: usize = 128; // Chunk size to be sent to Ledger
const CHUNK_SIZE: usize = 250; // Chunk size to be sent to Ledger

/// Alias of `Vec<u8>`. The goal is naming to help understand what the bytes to deal with
pub type BorshSerializedUnsignedTransaction = Vec<u8>;
Expand Down

0 comments on commit fa6aada

Please sign in to comment.