Skip to content

Commit

Permalink
fix logs
Browse files Browse the repository at this point in the history
  • Loading branch information
kogeler committed Oct 7, 2024
1 parent 223a38c commit ed6690f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/transaction.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export async function sendTransaction(transaction: any, sender: any, api: any): Promise<void> {
await new Promise(async (unsub) => {
transaction.signAndSend(sender, ({ status, events }) => {
console.log(`Current status is $.status}`);
console.log(`Current status is ${status}`);

if (status.isInBlock) {
console.log(`Transaction included at blockHash ${status.asInBlock}`);
Expand Down

0 comments on commit ed6690f

Please sign in to comment.