This repository was archived by the owner on Mar 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +17
-17
lines changed Expand file tree Collapse file tree 4 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -578,7 +578,7 @@ export async function multisig(): Promise<void> {
578578
579579 // Approve via multisig
580580 {
581- const delegate = new PublicKey ( ) ;
581+ const delegate = new PublicKey ( 0 ) ;
582582 await testToken . approve (
583583 multisigOwnedAccount ,
584584 delegate ,
@@ -596,7 +596,7 @@ export async function multisig(): Promise<void> {
596596
597597 // SetAuthority of account via multisig
598598 {
599- const newOwner = new PublicKey ( ) ;
599+ const newOwner = new PublicKey ( 0 ) ;
600600 await testToken . setAuthority (
601601 multisigOwnedAccount ,
602602 newOwner ,
Original file line number Diff line number Diff line change @@ -1431,7 +1431,7 @@ export class Token {
14311431 decimals,
14321432 mintAuthority : pubkeyToBuffer ( mintAuthority ) ,
14331433 option : freezeAuthority === null ? 0 : 1 ,
1434- freezeAuthority : pubkeyToBuffer ( freezeAuthority || new PublicKey ( ) ) ,
1434+ freezeAuthority : pubkeyToBuffer ( freezeAuthority || new PublicKey ( 0 ) ) ,
14351435 } ,
14361436 data ,
14371437 ) ;
@@ -1673,7 +1673,7 @@ export class Token {
16731673 instruction : 6 , // SetAuthority instruction
16741674 authorityType : AuthorityTypeCodes [ authorityType ] ,
16751675 option : newAuthority === null ? 0 : 1 ,
1676- newAuthority : pubkeyToBuffer ( newAuthority || new PublicKey ( ) ) ,
1676+ newAuthority : pubkeyToBuffer ( newAuthority || new PublicKey ( 0 ) ) ,
16771677 } ,
16781678 data ,
16791679 ) ;
Original file line number Diff line number Diff line change 5656 },
5757 "dependencies" : {
5858 "@babel/runtime" : " ^7.10.5" ,
59- "@solana/web3.js" : " ^0.94 .2" ,
59+ "@solana/web3.js" : " ^1.2 .2" ,
6060 "bn.js" : " ^5.1.0" ,
6161 "buffer" : " 6.0.3" ,
6262 "buffer-layout" : " ^1.2.0" ,
You can’t perform that action at this time.
0 commit comments