fix: optional stake lockup field parameters (#16943)

* fix: optional stake lockup field parameters

* chore: update web3.js/src/stake-program.ts

Co-authored-by: Justin Starry <justin.m.starry@gmail.com>

* chore: prettier

Co-authored-by: Justin Starry <justin.m.starry@gmail.com>
Co-authored-by: Justin Starry <justin@solana.com>
This commit is contained in:
Trent Nelson
2021-04-29 08:04:33 -06:00
committed by GitHub
parent 90641ad28b
commit a2fbb9cfef
3 changed files with 15 additions and 5 deletions

View File

@ -367,7 +367,6 @@ describe('StakeProgram', () => {
authorized.publicKey,
authorized.publicKey,
),
lockup: new Lockup(0, 0, new PublicKey(0)),
lamports: minimumAmount + 42,
});