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:
Parth
2019-11-08 15:57:35 +05:30
committed by GitHub
parent f7b6e777bf
commit 5bd05fba09
29 changed files with 277 additions and 153 deletions

View File

@@ -3066,7 +3066,7 @@ mod tests {
);
let transaction = Transaction::new_signed_instructions(
&[&mint_keypair],
&[&mint_keypair, &vote_keypair],
instructions,
bank.last_blockhash(),
);
@@ -3287,7 +3287,7 @@ mod tests {
);
let transaction = Transaction::new_signed_instructions(
&[&mint_keypair],
&[&mint_keypair, &mock_account],
instructions,
bank.last_blockhash(),
);
@@ -3328,7 +3328,7 @@ mod tests {
);
let transaction = Transaction::new_signed_instructions(
&[&mint_keypair],
&[&mint_keypair, &mock_account],
instructions,
bank.last_blockhash(),
);