File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -152,8 +152,10 @@ mod tests {
152
152
extern crate bitcoin;
153
153
use crate :: FilesystemPersister ;
154
154
use bitcoin:: blockdata:: block:: { Block , BlockHeader } ;
155
+ use bitcoin:: Txid ;
155
156
use DiskWriteable ;
156
157
use Error ;
158
+ use lightning:: chain:: transaction:: OutPoint ;
157
159
use lightning:: { check_closed_broadcast, check_added_monitors} ;
158
160
use lightning:: ln:: features:: InitFeatures ;
159
161
use lightning:: ln:: functional_test_utils:: * ;
@@ -163,18 +165,16 @@ mod tests {
163
165
use lightning:: util:: ser:: Writer ;
164
166
use lightning:: util:: test_utils;
165
167
use std:: fs;
168
+ use std:: io;
166
169
#[ cfg( not( target_os = "windows" ) ) ]
167
170
use {
168
171
bitcoin:: hashes:: hex:: FromHex ,
169
172
bitcoin:: hashes:: sha256:: Hash as Sha256 ,
170
173
bitcoin:: hashes:: Hash ,
171
- bitcoin:: Txid ,
172
174
lightning:: { unwrap_send_err, get_payment_preimage_hash} ,
173
- lightning:: chain:: transaction:: OutPoint ,
174
175
lightning:: ln:: channelmanager:: { PaymentSendFailure , PaymentPreimage , PaymentHash } ,
175
176
lightning:: routing:: router:: get_route,
176
177
lightning:: util:: errors:: APIError ,
177
- std:: io,
178
178
} ;
179
179
#[ cfg( target_os = "windows" ) ]
180
180
use {
You can’t perform that action at this time.
0 commit comments