fix: update StakeProgram.space() (#13371)

This commit is contained in:
Tyera Eulberg 2020-11-03 13:40:45 -07:00 committed by GitHub
parent fefa297877
commit 546915ee12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -482,9 +482,13 @@ export class StakeProgram {
/**
* Max space of a Stake account
*
* This is generated from the solana-stake-program StakeState struct as
* `std::mem::size_of::<StakeState>()`:
* https://docs.rs/solana-stake-program/1.4.4/solana_stake_program/stake_state/enum.StakeState.html
*/
static get space(): number {
return 4008;
return 200;
}
/**