fix(system-program): add base pubkey to create_account_with_seed

This commit is contained in:
Rob Walker
2019-12-29 14:16:32 -08:00
committed by Michael Vines
parent 0907750fea
commit e0e3094370
4 changed files with 8 additions and 4 deletions

View File

@ -58,6 +58,7 @@ test('createAccountWithSeed', () => {
transaction = SystemProgram.createAccountWithSeed(
from.publicKey,
newAccount.publicKey,
from.publicKey,
'hi there',
123,
BudgetProgram.space,
@ -133,6 +134,7 @@ test('SystemInstruction createWithSeed', () => {
const create = SystemProgram.createAccountWithSeed(
from.publicKey,
to.publicKey,
from.publicKey,
'hi there',
amount,
space,