Skip to content

Commit

Permalink
Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardocustodio committed Sep 16, 2024
1 parent 0916365 commit 3f07587
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ use tokio::time::{interval, sleep};
const NO_TRANSACTIONS_MSG: &str = "No transactions present in the body";
const BLOCK_TIME_MS: u64 = 12000;
const TRANSACTION_POLLER_MS: u64 = 6000;
const TRANSACTION_PAGE_SIZE: i64 = 5;
const TRANSACTION_PAGE_SIZE: i64 = 25;

struct Wrapper(Vec<u8>);
impl subxt::tx::Payload for Wrapper {
Expand Down Expand Up @@ -374,7 +374,7 @@ impl TransactionProcessor {
}: TransactionRequest,
) {
let signer = if external_id.is_some() {
keypair.derive([DeriveJunction::soft(external_id.unwrap())])
keypair.derive([DeriveJunction::hard(external_id.unwrap())])
} else {
keypair
};
Expand Down
2 changes: 1 addition & 1 deletion src/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ impl DeriveWalletProcessor {
managed: _,
}: DeriveWalletRequest,
) {
let derived_pair = keypair.derive([DeriveJunction::soft(external_id.clone())]);
let derived_pair = keypair.derive([DeriveJunction::hard(external_id.clone())]);
let derived_key = hex::encode(derived_pair.public_key().0);
platform_client::set_wallet_account(
client,
Expand Down

0 comments on commit 3f07587

Please sign in to comment.