Skip to content

Commit

Permalink
failed to check -> failed to validate
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangruber committed Nov 20, 2023
1 parent 7dbe464 commit f42a1fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands/station.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ export const station = async ({ json, experimental }) => {
{
retries: 1000,
onFailedAttempt: () =>
console.error('Failed to check FIL_WALLET_ADDRESS address. Retrying...')
console.error('Failed to validate FIL_WALLET_ADDRESS address. Retrying...')
}
)
if (fetchRes.status === 403) panic('Invalid FIL_WALLET_ADDRESS address')
if (!fetchRes.ok) panic('Failed to check FIL_WALLET_ADDRESS address')
if (!fetchRes.ok) panic('Failed to validate FIL_WALLET_ADDRESS address')
const ethAddress = FIL_WALLET_ADDRESS.startsWith('0x')
? FIL_WALLET_ADDRESS
: ethAddressFromDelegated(FIL_WALLET_ADDRESS)
Expand Down

0 comments on commit f42a1fb

Please sign in to comment.