File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
contracts/consumer/osmosis-price-feed/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ mod tests {
191191 fn json_binary ( ) {
192192 let resp = Binary :: from_base64 ( "eyJyZXN1bHQiOiJleUprWVhSaElqb2lRMmhqTmtaUmIxUk5WRUYzVFVSQmQwMUVRWGROUkVGM1RVUkJkMDFFUVhkTlFUMDlJbjA9In0=" ) . unwrap ( ) ;
193193
194- let ack_result: AcknowledgementResult = from_json ( & resp) . unwrap ( ) ;
194+ let ack_result: AcknowledgementResult = from_json ( resp) . unwrap ( ) ;
195195 assert_eq ! (
196196 ack_result. result. to_string( ) ,
197197 String :: from( "eyJkYXRhIjoiQ2hjNkZRb1RNVEF3TURBd01EQXdNREF3TURBd01EQXdNQT09In0=" )
@@ -203,7 +203,7 @@ mod tests {
203203 String :: from( "Chc6FQoTMTAwMDAwMDAwMDAwMDAwMDAwMA==" )
204204 ) ;
205205
206- let response: CosmosResponse = decode_response ( & packet_ack. data . to_vec ( ) ) . unwrap ( ) ;
206+ let response: CosmosResponse = decode_response ( & packet_ack. data ) . unwrap ( ) ;
207207 assert_eq ! ( response. responses. len( ) , 1 ) ;
208208 }
209209}
You can’t perform that action at this time.
0 commit comments