Skip to content

Commit

Permalink
chore: consistent return type
Browse files Browse the repository at this point in the history
  • Loading branch information
nicosantangelo committed Apr 18, 2022
1 parent c418501 commit 2f5d53d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export async function sendTransaction(

return {
status: 200,
body: { txHash },
body: { ok: true, txHash },
}
} catch (error) {
globalLogger.error(error as Error)
Expand Down

0 comments on commit 2f5d53d

Please sign in to comment.