require to
account signature (#6658)
* require to signature * fixing invocation to create_account * fix create_account references * address review comment * whacking bugs in tests * fixing stake program tests
This commit is contained in:
@ -402,7 +402,11 @@ mod tests {
|
||||
None,
|
||||
51,
|
||||
);
|
||||
let tx = Transaction::new_signed_instructions(&[&contract_funds], ixs, blockhash);
|
||||
let tx = Transaction::new_signed_instructions(
|
||||
&[&contract_funds, &contract_state],
|
||||
ixs,
|
||||
blockhash,
|
||||
);
|
||||
process_transaction_and_notify(&bank_forks, &tx, &rpc.subscriptions).unwrap();
|
||||
sleep(Duration::from_millis(200));
|
||||
|
||||
|
@ -316,7 +316,7 @@ mod tests {
|
||||
let alice = Keypair::new();
|
||||
let tx = system_transaction::create_account(
|
||||
&mint_keypair,
|
||||
&alice.pubkey(),
|
||||
&alice,
|
||||
blockhash,
|
||||
1,
|
||||
16,
|
||||
@ -371,7 +371,7 @@ mod tests {
|
||||
let alice = Keypair::new();
|
||||
let tx = system_transaction::create_account(
|
||||
&mint_keypair,
|
||||
&alice.pubkey(),
|
||||
&alice,
|
||||
blockhash,
|
||||
1,
|
||||
16,
|
||||
|
Reference in New Issue
Block a user