From 63993642c481b4a04cca5bb54ea8647ffca46f94 Mon Sep 17 00:00:00 2001 From: Alexey Shekhirin Date: Thu, 25 Nov 2021 09:37:43 +0300 Subject: [PATCH] revertme: add debug print --- ethers-etherscan/src/transaction.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ethers-etherscan/src/transaction.rs b/ethers-etherscan/src/transaction.rs index 260f70f3..04e1cedf 100644 --- a/ethers-etherscan/src/transaction.rs +++ b/ethers-etherscan/src/transaction.rs @@ -93,6 +93,8 @@ mod tests { ) .await; + println!("{:?}", success); + assert!(success.is_ok()); } @@ -107,6 +109,8 @@ mod tests { .await .unwrap_err(); + println!("{:?}", err); + assert!(matches!(err, EtherscanError::TransactionReceiptFailed)); } }