feat: add Keypair class and deprecate Account (#17098)
* feat: add Keypair class and deprecate Account * chore: fix lint issues * chore: rename TransactionSigner to Signer
This commit is contained in:
@@ -3,7 +3,7 @@ import invariant from 'assert';
|
||||
import {expect} from 'chai';
|
||||
|
||||
import {
|
||||
Account,
|
||||
Keypair,
|
||||
Connection,
|
||||
Transaction,
|
||||
SystemProgram,
|
||||
@@ -33,9 +33,9 @@ describe('Transaction Payer', () => {
|
||||
}
|
||||
|
||||
it('transaction-payer', async () => {
|
||||
const accountPayer = new Account();
|
||||
const accountFrom = new Account();
|
||||
const accountTo = new Account();
|
||||
const accountPayer = Keypair.generate();
|
||||
const accountFrom = Keypair.generate();
|
||||
const accountTo = Keypair.generate();
|
||||
|
||||
await helpers.airdrop({
|
||||
connection,
|
||||
|
Reference in New Issue
Block a user