stellar / soroban-examples

Example Soroban Contracts
Apache License 2.0
57 stars 60 forks source link

Prevent match issue when ledger timestamp == time_bound.timestamp #278

Closed alex-straw closed 11 months ago

alex-straw commented 1 year ago

What

Fix issue where 'ledger timestamp == time_bound.timestamp' in timelock/src/lib.rs -> After and Before can both simultaneously be true

Why

This is the only Soroban code I could find working with time, so I wanted to make sure it was correct/intuitive for anyone learning using this example (myself included)

Known limitations

N/A