Cleanup move (#9622)

automerge
This commit is contained in:
Jack May
2020-04-20 23:37:54 -07:00
committed by GitHub
parent 18cba86f77
commit 4d97d3bdb1
2 changed files with 5 additions and 16 deletions

View File

@@ -5,12 +5,10 @@ pub mod librapay_transaction;
extern crate solana_move_loader_program;
use solana_move_loader_program::{account_state::LibraAccountState, processor::MoveProcessor};
use solana_move_loader_program::account_state::LibraAccountState;
use solana_runtime::loader_utils::load_program;
use solana_sdk::{
account::KeyedAccount,
client::Client,
instruction::InstructionError,
message::Message,
pubkey::Pubkey,
signature::{Keypair, Signer},
@@ -80,11 +78,3 @@ pub fn upload_payment_script<T: Client>(from: &Keypair, client: &T) -> Pubkey {
upload_script(from, client, code)
}
pub fn process_instruction(
program_id: &Pubkey,
keyed_accounts: &mut [KeyedAccount],
data: &[u8],
) -> Result<(), InstructionError> {
MoveProcessor::process_instruction(program_id, keyed_accounts, data)
}