From d081b55e4091458f5ea24185bb9192a2b6500e87 Mon Sep 17 00:00:00 2001 From: Trent Nelson Date: Tue, 7 Apr 2020 18:18:21 -0600 Subject: [PATCH] fix: declare system program id in base58 --- web3.js/src/system-program.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/web3.js/src/system-program.js b/web3.js/src/system-program.js index 2b01c3b460..1b10a4a7e6 100644 --- a/web3.js/src/system-program.js +++ b/web3.js/src/system-program.js @@ -433,9 +433,7 @@ export class SystemProgram { * Public key that identifies the System program */ static get programId(): PublicKey { - return new PublicKey( - '0x000000000000000000000000000000000000000000000000000000000000000', - ); + return new PublicKey('11111111111111111111111111111111'); } /**