This PR modifies the GetDepositRequest function by adding a boolean value to the returned values.
The returned values represent:
deposit request which is non-nil only when the deposit request was found,
boolean value which is true if the deposit request was found, false otherwise,
error which is non-nil only when the function execution failed. It will be nil if the deposit request was not found, but the function execution succeeded.
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.
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.