fix: fix static properties in flow type declaration

This commit is contained in:
Justin Starry
2021-03-29 22:46:28 +08:00
committed by Justin Starry
parent 5f46ef7adc
commit a6b7dcb3c6
4 changed files with 18 additions and 20 deletions

View File

@@ -79,9 +79,9 @@ export class Secp256k1Program {
/**
* Public key that identifies the secp256k1 program
*/
static get programId(): PublicKey {
return new PublicKey('KeccakSecp256k11111111111111111111111111111');
}
static programId: PublicKey = new PublicKey(
'KeccakSecp256k11111111111111111111111111111',
);
/**
* Construct an Ethereum address from a secp256k1 public key buffer.