Skip to content

Commit 93dabe2

Browse files
fix compilation issues
1 parent 238a2d0 commit 93dabe2

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

examples/bridge/src/application/ingress.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,11 @@ impl<D: Digest> Re for Mailbox<D> {
9696
type PublicKey = PublicKey;
9797
type Plan = Plan<PublicKey>;
9898

99-
async fn broadcast(&mut self, _: Self::Digest, _: Self::Plan) -> bool {
99+
async fn broadcast(&mut self, _: Self::Digest, _: Self::Plan) {
100100
// We don't broadcast our raw messages to other peers.
101101
//
102102
// If we were building an EVM blockchain, for example, we'd
103103
// send the block to other peers here.
104-
true
105104
}
106105
}
107106

examples/log/src/application/ingress.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,10 @@ impl<D: Digest> Re for Mailbox<D> {
8585
type PublicKey = PublicKey;
8686
type Plan = Plan<PublicKey>;
8787

88-
async fn broadcast(&mut self, _: Self::Digest, _: Self::Plan) -> bool {
88+
async fn broadcast(&mut self, _: Self::Digest, _: Self::Plan) {
8989
// We don't broadcast our raw messages to other peers.
9090
//
9191
// If we were building an EVM blockchain, for example, we'd
9292
// send the block to other peers here.
93-
true
9493
}
9594
}

0 commit comments

Comments
 (0)