Skip to content

Commit

Permalink
p2p network
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberhorsey committed Nov 27, 2024
1 parent 800e658 commit 4a07cf8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion packages/taiko-client/driver/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,15 @@ func (d *Driver) Start() error {

return err
}); err != nil {
log.Error("Failed to join soft block topic", "error", err)
slog.Error("Failed to join soft block topic", "error", err)
}

if err := p2p.SubscribeToTopic[softblocks.TransactionBatch](
d.ctx,
d.p2pnetwork,
p2p.TopicNameSoftBlocks,
); err != nil {
slog.Error("Failed to subscribe to soft block topic", "error", err)
}
}()
}
Expand Down

0 comments on commit 4a07cf8

Please sign in to comment.