From 45c73bccd7a5714ca775d437e6aac470f4fe076e Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 23 May 2023 10:51:27 +0200 Subject: [PATCH] make sure to print a message --- apps/etherscan/src/app/views/ReceiptsView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/etherscan/src/app/views/ReceiptsView.tsx b/apps/etherscan/src/app/views/ReceiptsView.tsx index 51615b5985..7878e254ec 100644 --- a/apps/etherscan/src/app/views/ReceiptsView.tsx +++ b/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({