File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 5
5
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
6
6
sudo apt-add-repository " deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main"
7
7
sudo apt-get update
8
- sudo apt-get install -y clang-7 --allow-unauthenticated
9
8
sudo apt-get install -y openssl --allow-unauthenticated
10
9
sudo apt-get install -y libssl-dev --allow-unauthenticated
11
10
sudo apt-get install -y libssl1.1 --allow-unauthenticated
12
11
sudo apt-get install -y libudev-dev
13
12
sudo apt-get install -y binutils-dev
14
13
sudo apt-get install -y libunwind-dev
15
- clang-7 --version
Original file line number Diff line number Diff line change @@ -1643,9 +1643,7 @@ fn command_update_reserve(
1643
1643
}
1644
1644
1645
1645
let mut new_pyth_product_pubkey = solend_program:: NULL_PUBKEY ;
1646
- if pyth_price_pubkey. is_some ( )
1647
- && reserve. liquidity . pyth_oracle_pubkey != pyth_price_pubkey. unwrap ( )
1648
- {
1646
+ if pyth_price_pubkey. is_some ( ) {
1649
1647
no_change = false ;
1650
1648
println ! (
1651
1649
"Updating pyth oracle pubkey from {} to {}" ,
@@ -1656,9 +1654,7 @@ fn command_update_reserve(
1656
1654
new_pyth_product_pubkey = pyth_product_pubkey. unwrap ( ) ;
1657
1655
}
1658
1656
1659
- if switchboard_feed_pubkey. is_some ( )
1660
- && reserve. liquidity . switchboard_oracle_pubkey != switchboard_feed_pubkey. unwrap ( )
1661
- {
1657
+ if switchboard_feed_pubkey. is_some ( ) {
1662
1658
no_change = false ;
1663
1659
println ! (
1664
1660
"Updating switchboard_oracle_pubkey {} to {}" ,
You can’t perform that action at this time.
0 commit comments