From 007f74d5d9ffbf61d74922be39b437f50bd07545 Mon Sep 17 00:00:00 2001 From: Milerius Date: Tue, 24 Oct 2023 17:14:01 -0500 Subject: [PATCH] feat(aptos): remove useless code --- rust/tw_aptos/src/transaction_builder.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/rust/tw_aptos/src/transaction_builder.rs b/rust/tw_aptos/src/transaction_builder.rs index 03cba9a7e3c..16e47c78644 100644 --- a/rust/tw_aptos/src/transaction_builder.rs +++ b/rust/tw_aptos/src/transaction_builder.rs @@ -110,7 +110,6 @@ impl TransactionFactory { .with_gas_unit_price(input.gas_unit_price) .with_max_gas_amount(input.max_gas_amount) .with_transaction_expiration_time(input.expiration_timestamp_secs); - let keypair = tw_keypair::ed25519::sha512::KeyPair::try_from(input.private_key.to_vec().as_slice()).unwrap(); match input.transaction_payload { OneOftransaction_payload::transfer(transfer) => { return factory.implicitly_create_user_account_and_transfer(AccountAddress::from_str(&transfer.to).unwrap(), transfer.amount);