File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -196,11 +196,8 @@ mod tests {
196196 PortId :: from_str ( "transfer" ) ?,
197197 ChannelId :: from_str ( "channel-0" ) ?,
198198 ) ;
199- let res = rly. query_channel_proof (
200- port_id. clone ( ) ,
201- channel_id. clone ( ) ,
202- Some ( last_height. into ( ) ) ,
203- ) ?;
199+ let res =
200+ rly. query_channel_proof ( port_id. clone ( ) , channel_id. clone ( ) , Some ( last_height) ) ?;
204201
205202 info ! ( "expected channel is {:?}" , res. 0 ) ;
206203
@@ -249,7 +246,7 @@ mod tests {
249246 let msg: UpdateClientMessage = res. 0 . message ( ) . unwrap ( ) . try_into ( ) ?;
250247 assert ! ( msg. prev_height == Some ( Height :: from( last_height) ) ) ;
251248 assert ! ( msg. post_height == Height :: from( lh) ) ;
252- assert ! ( msg. emitted_states. len ( ) == 0 ) ;
249+ assert ! ( msg. emitted_states. is_empty ( ) ) ;
253250 lh
254251 } ;
255252 info ! ( "current last_height is {}" , last_height) ;
You can’t perform that action at this time.
0 commit comments