Skip to content

Commit c974798

Browse files
committed
cargo fix
1 parent 8ac6201 commit c974798

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

chain-extensions/src/tests.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -995,8 +995,7 @@ fn get_alpha_price_returns_encoded_price() {
995995
assert!(env.charged_weight().is_none());
996996

997997
// Decode the output
998-
let output_price: u64 =
999-
Decode::decode(&mut &env.output()[..]).expect("Failed to decode output price");
998+
let output_price: u64 = Decode::decode(&mut &env.output()[..]).unwrap();
1000999

10011000
assert_eq!(
10021001
output_price, expected_price_u64,

0 commit comments

Comments
 (0)