Skip to content

Commit

Permalink
Remove ugly log
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemaccana committed Aug 23, 2024
1 parent 8139019 commit dc93329
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions basics/favorites/anchor/tests/favorites.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ describe('Favorites', () => {
const newFavoriteHobbies = ['skiing', 'skydiving', 'biking', 'swimming'];
try {
const signature = await program.methods.setFavorites(favoriteNumber, favoriteColor, newFavoriteHobbies).signers([user]).rpc();

console.log(`Transaction signature: ${signature}`);
} catch (error) {
console.error((error as Error).message);
const customErrorMessage = getCustomErrorMessage(systemProgramErrors, error);
Expand Down

0 comments on commit dc93329

Please sign in to comment.