File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ impl Mint {
7171 if account_info. data_len ( ) < Self :: BASE_LEN {
7272 return Err ( ProgramError :: InvalidAccountData ) ;
7373 }
74- if account_info. owner_is ( & ID ) {
74+ if ! account_info. owner_is ( & ID ) {
7575 return Err ( ProgramError :: InvalidAccountOwner ) ;
7676 }
7777 Ok ( Self :: from_bytes_unchecked (
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ impl Multisig {
5959 if account_info. data_len ( ) != Self :: LEN {
6060 return Err ( ProgramError :: InvalidAccountData ) ;
6161 }
62- if account_info. owner_is ( & ID ) {
62+ if ! account_info. owner_is ( & ID ) {
6363 return Err ( ProgramError :: InvalidAccountOwner ) ;
6464 }
6565 Ok ( Self :: from_bytes_unchecked (
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ impl TokenAccount {
8686 if account_info. data_len ( ) < Self :: BASE_LEN {
8787 return Err ( ProgramError :: InvalidAccountData ) ;
8888 }
89- if account_info. owner_is ( & ID ) {
89+ if ! account_info. owner_is ( & ID ) {
9090 return Err ( ProgramError :: InvalidAccountData ) ;
9191 }
9292 Ok ( Self :: from_bytes_unchecked (
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ impl Mint {
7171 if account_info. data_len ( ) != Self :: LEN {
7272 return Err ( ProgramError :: InvalidAccountData ) ;
7373 }
74- if account_info. owner_is ( & ID ) {
74+ if ! account_info. owner_is ( & ID ) {
7575 return Err ( ProgramError :: InvalidAccountOwner ) ;
7676 }
7777 Ok ( Self :: from_bytes_unchecked (
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ impl Multisig {
5959 if account_info. data_len ( ) != Self :: LEN {
6060 return Err ( ProgramError :: InvalidAccountData ) ;
6161 }
62- if account_info. owner_is ( & ID ) {
62+ if ! account_info. owner_is ( & ID ) {
6363 return Err ( ProgramError :: InvalidAccountOwner ) ;
6464 }
6565 Ok ( Self :: from_bytes_unchecked (
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ impl TokenAccount {
8686 if account_info. data_len ( ) != Self :: LEN {
8787 return Err ( ProgramError :: InvalidAccountData ) ;
8888 }
89- if account_info. owner_is ( & ID ) {
89+ if ! account_info. owner_is ( & ID ) {
9090 return Err ( ProgramError :: InvalidAccountData ) ;
9191 }
9292 Ok ( Self :: from_bytes_unchecked (
You can’t perform that action at this time.
0 commit comments