Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Oct 26, 2023
1 parent 16785ed commit 9d6e249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yarn-project/types/src/notes/note_spending_info_dao.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class NoteSpendingInfoDao {

static fromString(str: string) {
const hex = str.replace(/^0x/, '');
return NotePreimage.fromBuffer(Buffer.from(hex, 'hex'));
return NoteSpendingInfoDao.fromBuffer(Buffer.from(hex, 'hex'));
}

/**
Expand Down

0 comments on commit 9d6e249

Please sign in to comment.