@@ -57,7 +57,7 @@ import {
5757} from "@pythnetwork/pyth-solana-receiver" ;
5858import {
5959 SOLANA_LAZER_PROGRAM_ID ,
60- SOLANA_STORAGE_ID ,
60+ SOLANA_LAZER_STORAGE_ID ,
6161} from "@pythnetwork/pyth-lazer-sdk" ;
6262
6363import { LedgerNodeWallet } from "./ledger" ;
@@ -978,7 +978,7 @@ multisigCommand(
978978 . update ( trustedSigner , expiryTime )
979979 . accounts ( {
980980 topAuthority : await vault . getVaultAuthorityPDA ( targetCluster ) ,
981- storage : SOLANA_STORAGE_ID ,
981+ storage : new PublicKey ( SOLANA_LAZER_STORAGE_ID ) ,
982982 } )
983983 . instruction ( ) ;
984984
@@ -1010,7 +1010,7 @@ multisigCommand(
10101010 const trustedSigner = Buffer . from ( options . signer , "hex" ) ;
10111011 const expiryTime = new BN ( options . expiryTime ) ;
10121012
1013- const programId = SOLANA_LAZER_PROGRAM_ID ;
1013+ const programId = new PublicKey ( SOLANA_LAZER_PROGRAM_ID ) ;
10141014 const programDataAccount = PublicKey . findProgramAddressSync (
10151015 [ programId . toBuffer ( ) ] ,
10161016 BPF_UPGRADABLE_LOADER ,
@@ -1039,7 +1039,7 @@ multisigCommand(
10391039 // Create Anchor program instance
10401040 const lazerProgram = new Program (
10411041 lazerIdl as Idl ,
1042- SOLANA_LAZER_PROGRAM_ID ,
1042+ programId ,
10431043 vault . getAnchorProvider ( ) ,
10441044 ) ;
10451045
@@ -1048,7 +1048,7 @@ multisigCommand(
10481048 . updateEcdsaSigner ( trustedSigner , expiryTime )
10491049 . accounts ( {
10501050 topAuthority : await vault . getVaultAuthorityPDA ( targetCluster ) ,
1051- storage : SOLANA_STORAGE_ID ,
1051+ storage : new PublicKey ( SOLANA_LAZER_STORAGE_ID ) ,
10521052 } )
10531053 . instruction ( ) ;
10541054
0 commit comments