keep-network / keep-core

The smart contracts and reference client behind the Keep network
https://keep.network
MIT License
118 stars 73 forks source link

Modified retrieval of deposit request data #3654

Closed tomaszslabon closed 1 year ago

tomaszslabon commented 1 year ago

This PR modifies the GetDepositRequest function by adding a boolean value to the returned values. The returned values represent:

This can be useful when we want to check if a deposit exists, but we do not want to issue an error when it does not exist, i.e. we don't consider it an error.