fix: fix static properties in flow type declaration
This commit is contained in:
committed by
Justin Starry
parent
5f46ef7adc
commit
a6b7dcb3c6
@@ -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.
|
||||
|
Reference in New Issue
Block a user