Skip to content

Commit

Permalink
remove solana-program
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey committed Dec 5, 2024
1 parent bed6efd commit 10b5ee6
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
3 changes: 2 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion programs/sbf/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion svm/examples/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion thin-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ solana-epoch-info = { workspace = true }
solana-hash = { workspace = true }
solana-instruction = { workspace = true }
solana-keypair = { workspace = true }
solana-program = { workspace = true, default-features = false }
solana-message = { workspace = true }
solana-pubkey = { workspace = true }
solana-rpc-client = { workspace = true }
solana-rpc-client-api = { workspace = true }
solana-signature = { workspace = true }
solana-signer = { workspace = true }
solana-system-interface = { workspace = true, features = ["bincode"] }
solana-transaction = { workspace = true }
solana-transaction-error = { workspace = true }

Expand Down
6 changes: 3 additions & 3 deletions thin-client/src/thin_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ use {
solana_hash::Hash,
solana_instruction::Instruction,
solana_keypair::Keypair,
solana_program::{message::Message, system_instruction},
solana_message::Message,
solana_pubkey::Pubkey,
solana_rpc_client::rpc_client::RpcClient,
solana_rpc_client_api::config::RpcProgramAccountsConfig,
solana_signature::Signature,
solana_signer::{signers::Signers, Signer},
solana_system_interface::instruction::transfer,
solana_transaction::{versioned::VersionedTransaction, Transaction},
solana_transaction_error::{TransactionResult, TransportResult},
std::{
Expand Down Expand Up @@ -366,8 +367,7 @@ where
keypair: &Keypair,
pubkey: &Pubkey,
) -> TransportResult<Signature> {
let transfer_instruction =
system_instruction::transfer(&keypair.pubkey(), pubkey, lamports);
let transfer_instruction = transfer(&keypair.pubkey(), pubkey, lamports);
self.send_and_confirm_instruction(keypair, transfer_instruction)
}

Expand Down

0 comments on commit 10b5ee6

Please sign in to comment.