fix: createProgramAddress now throws on an invalid seed length

This commit is contained in:
Michael Vines
2020-10-13 13:40:38 -07:00
parent f8d338c9cb
commit e84a91d417
5 changed files with 19 additions and 2 deletions

View File

@@ -16,6 +16,7 @@ import {PublicKey} from './src/publickey';
declare module '@solana/web3.js' {
// === src/publickey.js ===
declare export var MAX_SEED_LENGTH: number;
declare export type PublicKeyNonce = [PublicKey, number];
declare export class PublicKey {
constructor(