Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

Commit 7481bb1

Browse files
committed
Add newline to end of files
1 parent 2f8fd3f commit 7481bb1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/instruction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,4 @@ pub fn price_not_stale(price_account_data: Vec<u8>) -> Instruction {
108108
.try_to_vec()
109109
.unwrap(),
110110
}
111-
}
111+
}

tests/stale_price.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,4 @@ async fn test_price_stale() {
9191
price.agg.status = PriceStatus::Trading;
9292
price.agg.pub_slot = 100; // It will cause an overflow because this is bigger than Solana slot which is impossible in reality
9393
test_instr(instruction::price_not_stale(bytes_of(&price).to_vec())).await.unwrap_err();
94-
}
94+
}

0 commit comments

Comments
 (0)