diff --git a/web3.js/test/budget-program.test.js b/web3.js/test/budget-program.test.js index 5ba91a7c5e..1ee94e1988 100644 --- a/web3.js/test/budget-program.test.js +++ b/web3.js/test/budget-program.test.js @@ -5,13 +5,13 @@ import {BudgetProgram} from '../src/budget-program'; test('pay', () => { const from = new Account(); - const contract = new Account(); + const program = new Account(); const to = new Account(); let transaction; transaction = BudgetProgram.pay( from.publicKey, - contract.publicKey, + program.publicKey, to.publicKey, 123, ); @@ -20,7 +20,7 @@ test('pay', () => { transaction = BudgetProgram.pay( from.publicKey, - contract.publicKey, + program.publicKey, to.publicKey, 123, BudgetProgram.signatureCondition(from.publicKey), @@ -30,7 +30,7 @@ test('pay', () => { transaction = BudgetProgram.pay( from.publicKey, - contract.publicKey, + program.publicKey, to.publicKey, 123, BudgetProgram.signatureCondition(from.publicKey), diff --git a/web3.js/test/connection.test.js b/web3.js/test/connection.test.js index d6abd97f15..1482e2d8ba 100644 --- a/web3.js/test/connection.test.js +++ b/web3.js/test/connection.test.js @@ -204,7 +204,7 @@ test('request airdrop', async () => { { error: null, result: { - contract_id: [ + program_id: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ],