fix: remove legacy code

This commit is contained in:
Tyera Eulberg
2020-01-08 13:59:58 -07:00
committed by Michael Vines
parent aea0e83a40
commit 4a547b0057
6 changed files with 189 additions and 237 deletions

View File

@ -61,7 +61,12 @@ test('create and query nonce account', async () => {
},
{
error: null,
result: minimumAmount * 2,
result: {
context: {
slot: 11,
},
value: minimumAmount * 2,
},
},
]);
@ -104,43 +109,48 @@ test('create and query nonce account', async () => {
{
error: null,
result: {
owner: [
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,
],
lamports: minimumAmount,
data: [...expectedData],
executable: false,
context: {
slot: 11,
},
value: {
owner: [
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,
],
lamports: minimumAmount,
data: [...expectedData],
executable: false,
},
},
},
]);