File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed 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