feat: add room in the API for Transactions with multiple Instructions

This commit is contained in:
Michael Vines
2018-10-23 15:17:43 -07:00
parent 90c9df15ef
commit b8d586c67e
7 changed files with 120 additions and 65 deletions

View File

@ -26,8 +26,7 @@ test('load noop program', async () => {
const from = await newAccountWithTokens(connection);
const noopProgramId = await NativeLoader.load(connection, from, 'noop');
const noopTransaction = new Transaction({
fee: 0,
const noopTransaction = new Transaction().add({
keys: [from.publicKey],
programId: noopProgramId,
});