fix: update accounts to readonly/writable

This commit is contained in:
Tyera Eulberg
2019-11-06 10:42:01 -07:00
committed by Michael Vines
parent 58550733fb
commit d0c89f7fa3
8 changed files with 49 additions and 58 deletions

View File

@ -681,11 +681,6 @@ test('transaction', async () => {
result: 31,
},
]);
if (!mockRpcEnabled) {
// Credit-only account credits are committed at the end of every slot;
// this sleep is to ensure a full slot has elapsed
await sleep((1000 * DEFAULT_TICKS_PER_SLOT) / NUM_TICKS_PER_SECOND);
}
expect(await connection.getBalance(accountTo.publicKey)).toBe(31);
});