Skip to content

Commit

Permalink
Bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ChewingGlass committed Jan 7, 2025
1 parent 91c7e4d commit a2f8701
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ pub struct CloseDelegationV0<'info> {
if delegated_position.expiration_ts == 0 {
position.lockup.end_ts
} else {
delegated_position.expiration_ts
min(position.lockup.end_ts, delegated_position.expiration_ts)
}
)
).to_le_bytes()],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ pub struct ExtendExpirationTsV0<'info> {
if delegated_position.expiration_ts == 0 {
position.lockup.end_ts
} else {
delegated_position.expiration_ts
min(position.lockup.end_ts, delegated_position.expiration_ts)
}
).to_le_bytes()],
bump,
Expand Down

0 comments on commit a2f8701

Please sign in to comment.