make sure to print a message

pull/3733/head
yann300 2 years ago
parent bc6b80e8a5
commit 45c73bccd7
  1. 2
      apps/etherscan/src/app/views/ReceiptsView.tsx

@ -35,7 +35,7 @@ export const ReceiptsView: React.FC = () => {
)
setResults({
succeed: result.status === '1' ? true : false,
message: result.result
message: result.result || (result.status === '0' ? 'Verification failed' : result.message)
})
} catch (error: any) {
setResults({

Loading…
Cancel
Save