Skip to content

Commit

Permalink
Merge pull request #19 from novasamatech/fix-log
Browse files Browse the repository at this point in the history
fix logs
  • Loading branch information
kogeler authored Oct 7, 2024
2 parents 223a38c + ed6690f commit 469e4d5
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 469e4d5

Please sign in to comment.