keep-core
keep-core copied to clipboard
Fixing test that occasionally fails
Closes #https://github.com/keep-network/keep-core/issues/2167
By increasing time programmatically using OpenZeppelin lib may add a split of a second to a current timestamp which results in difference of less than 1 KEEP during withdrawal of set amount. This PR takes this into account and accepts the diff if it is less than 1 KEEP.