Skip to content

Commit

Permalink
fix issue #3
Browse files Browse the repository at this point in the history
  • Loading branch information
lessmore92 committed Jan 30, 2022
1 parent 3bf000b commit 43c05ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/RippleAddressCodec.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public function isValidClassicAddress(string $address): bool
{
$this->decodeAccountID($address);
}
catch (Exception $e)
catch (\Throwable $e)
{
return false;
}
Expand Down Expand Up @@ -217,7 +217,7 @@ public function isValidXAddress(string $xAddress)
{
$this->decodeXAddress($xAddress);
}
catch (Exception $e)
catch (\Throwable $e)
{
return false;
}
Expand Down

0 comments on commit 43c05ca

Please sign in to comment.