Skip to content

Commit 6571d3b

Browse files
chore: mock
1 parent a447f3f commit 6571d3b

File tree

1 file changed

+1
-1
lines changed
  • target_chains/ethereum/sdk/stylus/contracts/src/pyth

1 file changed

+1
-1
lines changed

target_chains/ethereum/sdk/stylus/contracts/src/pyth/mock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ impl MockPythContract {
186186

187187
for data in &update_data {
188188
// Decode the update_data
189-
let (price_feed, prev_publish_time) = match DecodeDataType::abi_decode(data, false) {
189+
let (price_feed, _prev_publish_time) = match DecodeDataType::abi_decode(data, false) {
190190
Ok(res) => res,
191191
Err(_) => {
192192
return Err(Error::FalledDecodeData(FalledDecodeData {}).into());

0 commit comments

Comments
 (0)