Skip to content

Commit

Permalink
camelCase TX event names
Browse files Browse the repository at this point in the history
  • Loading branch information
jsdw committed Sep 25, 2023
1 parent ef0cd76 commit 1f412c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/chopsticks/src/rpc/substrate/author.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,18 @@ export const author_submitAndWatchExtrinsic: Handler<[HexString], string> = asyn
logger.debug({ block: block.hash }, 'author_extrinsicUpdate')

callback({
InBlock: block.hash,
inBlock: block.hash,
})
callback({
Finalized: block.hash,
finalized: block.hash,
})
done(id)
}

try {
await context.chain.submitExtrinsic(extrinsic)
callback({
Ready: null,
ready: null,
})
} catch (error) {
logger.error({ error }, 'ExtrinsicFailed')
Expand Down

0 comments on commit 1f412c3

Please sign in to comment.