Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink committed Dec 2, 2024
1 parent dead25f commit c98d8ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/transport-http/src/subscribe/handlers/blocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const blocksHandler = createSubscriptionHandler<{
}

return {
sendData(data: BlocksDataDto) {
onData(data: BlocksDataDto) {
// Parse the raw data
const parsedData: BlocksData = {
block: {
Expand Down Expand Up @@ -77,10 +77,10 @@ export const blocksHandler = createSubscriptionHandler<{

onData(parsedData)
},
sendError(error: Error) {
onError(error: Error) {
onError(error)
},
encodeArgs(args: BlocksArgs) {
argsToDto(args: BlocksArgs) {
let encodedArgs: BlocksArgsDto = {
block_status: args.blockStatus,
}
Expand Down

0 comments on commit c98d8ed

Please sign in to comment.