File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments