From 90ce32d3059032840c39c55c8819ea2d803351f5 Mon Sep 17 00:00:00 2001 From: Kieran Prasch Date: Mon, 6 Jul 2020 10:10:14 -0700 Subject: [PATCH] Workaround for invalid / reused nonce in tests. --- nucypher/blockchain/eth/interfaces.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nucypher/blockchain/eth/interfaces.py b/nucypher/blockchain/eth/interfaces.py index 043cc6ef0..afcaf4a86 100644 --- a/nucypher/blockchain/eth/interfaces.py +++ b/nucypher/blockchain/eth/interfaces.py @@ -611,6 +611,7 @@ class BlockchainInterface: # Broadcast # + time.sleep(1) # TODO: Avoids race condition from invalid/resused nonce. emitter.message(f'Broadcasting {transaction_name} Transaction ({cost} ETH @ {price_gwei} gwei)...', color='yellow') try: