@@ -150,57 +150,6 @@ struct Pipe {
150
150
bootstrap_state : Option < WalletBootstrapState > ,
151
151
}
152
152
153
- #[ cfg( test) ]
154
- impl WalletSpendInterface for Pipe {
155
- fn spend_transaction_and_add_fee ( & mut self , _bundle : & Spend ) -> Result < ( ) , Error > {
156
- todo ! ( ) ;
157
- }
158
-
159
- fn register_coin ( & mut self , _coin_id : & CoinString , _timeout : & Timeout ) -> Result < ( ) , Error > {
160
- todo ! ( ) ;
161
- }
162
- }
163
-
164
- #[ cfg( test) ]
165
- impl BootstrapTowardWallet for Pipe {
166
- fn channel_puzzle_hash ( & mut self , _puzzle_hash : & PuzzleHash ) -> Result < ( ) , Error > {
167
- todo ! ( ) ;
168
- }
169
-
170
- fn received_channel_offer ( & mut self , _bundle : & SpendBundle ) -> Result < ( ) , Error > {
171
- todo ! ( ) ;
172
- }
173
- fn received_channel_transaction_completion (
174
- & mut self ,
175
- _bundle : & SpendBundle ,
176
- ) -> Result < ( ) , Error > {
177
- todo ! ( ) ;
178
- }
179
- }
180
-
181
- #[ cfg( test) ]
182
- impl ToLocalUI for Pipe {
183
- fn opponent_moved ( & mut self , _id : & GameID , _readable : ReadableMove ) -> Result < ( ) , Error > {
184
- todo ! ( ) ;
185
- }
186
- fn game_message ( & mut self , _id : & GameID , _readable : & [ u8 ] ) -> Result < ( ) , Error > {
187
- todo ! ( ) ;
188
- }
189
- fn game_finished ( & mut self , _id : & GameID , _my_share : Amount ) -> Result < ( ) , Error > {
190
- todo ! ( ) ;
191
- }
192
- fn game_cancelled ( & mut self , _id : & GameID ) -> Result < ( ) , Error > {
193
- todo ! ( ) ;
194
- }
195
-
196
- fn shutdown_complete ( & mut self , _reward_coin_string : & CoinString ) -> Result < ( ) , Error > {
197
- todo ! ( ) ;
198
- }
199
- fn going_on_chain ( & mut self ) -> Result < ( ) , Error > {
200
- todo ! ( ) ;
201
- }
202
- }
203
-
204
153
pub struct RegisteredCoinsIterator < ' a > {
205
154
internal_iterator : std:: collections:: btree_map:: Iter < ' a , CoinString , WatchEntry > ,
206
155
}
0 commit comments