Commit ec92f21 1 parent a1dfbb9 commit ec92f21 Copy full SHA for ec92f21
File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " suilend"
3
3
version = " 0.0.1"
4
- published-at = " 0x465174d80d10d33917d16721d20e6a4e08c50e9d3ff9115ee8c36cf9fb7bcd6e "
4
+ published-at = " 0xbfc6127da72073545b271e2eee0e554ef34b10ba602cc7a287f28a465bd3483d "
5
5
edition = " 2024.beta"
6
6
7
7
[dependencies .Sui ]
Original file line number Diff line number Diff line change @@ -941,7 +941,7 @@ module suilend::lending_market {
941
941
942
942
// === Admin Functions ===
943
943
entry fun migrate <P >(_: &LendingMarketOwnerCap <P >, lending_market: &mut LendingMarket <P >) {
944
- assert !(lending_market.version = = CURRENT_VERSION - 1 , EIncorrectVersion );
944
+ assert !(lending_market.version < = CURRENT_VERSION - 1 , EIncorrectVersion );
945
945
lending_market.version = CURRENT_VERSION ;
946
946
}
947
947
@@ -1322,7 +1322,9 @@ module suilend::lending_market {
1322
1322
}
1323
1323
1324
1324
#[test_only]
1325
- public fun reserves_mut_for_testing <P >(lending_market: &mut LendingMarket <P >): &mut vector <Reserve <P >> {
1325
+ public fun reserves_mut_for_testing <P >(
1326
+ lending_market: &mut LendingMarket <P >,
1327
+ ): &mut vector <Reserve <P >> {
1326
1328
&mut lending_market.reserves
1327
1329
}
1328
1330
You can’t perform that action at this time.
0 commit comments