fix: default transaction fee is now 1 (was 0)

This commit is contained in:
Michael Vines
2018-11-27 08:31:06 -08:00
parent 916a5eb3d2
commit b175a53f4b
9 changed files with 20 additions and 9 deletions

View File

@@ -353,6 +353,7 @@ test('transaction', async () => {
accountTo.publicKey,
10,
);
transaction.fee = 0;
const signature = await connection.sendTransaction(transaction, accountFrom);
mockRpc.push([
@@ -447,7 +448,7 @@ test('multi-instruction transaction', async () => {
accountTo.publicKey,
10,
).add(SystemProgram.move(accountTo.publicKey, accountFrom.publicKey, 10));
transaction.fee = 0;
const signature = await connection.sendTransaction(
transaction,
accountFrom,
@@ -496,6 +497,7 @@ test('account change notification', async () => {
3,
BpfLoader.programId,
);
transaction.fee = 0;
await sendAndConfirmTransaction(connection, transaction, owner);
const loader = new Loader(connection, BpfLoader.programId);