[Bug] findUnspentRecords
should not use request failure to check unspent record
#829
Labels
bug
Something isn't working
🐛 Bug Report
findUnspentRecords
currently calls thegetTransactionId
API and, upon failure, assumes that the record is unspent. Using an unspecified catch block to handle core logic is an anti-pattern. The API errors can happen for unknown reasons, which would lead to false positives.The text was updated successfully, but these errors were encountered: