Skip to content

Commit

Permalink
fix note.from bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zemse committed Mar 16, 2024
1 parent 11042f0 commit 6876028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/note.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class Note extends Commitable {
};
}

async from(json: NoteRaw) {
static async from(json: NoteRaw) {
return new Note(
Field.from(json.amount),
await KeyPair.newAsync(Field.from(json.keypair.private_key)),
Expand Down

0 comments on commit 6876028

Please sign in to comment.