Skip to content

Commit

Permalink
clients/besu: fix clique mining (ethereum#730)
Browse files Browse the repository at this point in the history
Reversed the logic to deploy clique key to bootnode only.
Original change was to avoid deploying the same clique key to 2 different
nodes. Ended up stopping the deployment of the clique key to the first node,
causing test that rely on a single node to mine to fail due to timeout.
  • Loading branch information
gfukushima authored and mattsse committed Mar 24, 2023
1 parent 7b351d2 commit d9dca00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/besu/besu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ if [ -d /blocks ]; then
IMPORTFLAGS="$IMPORTFLAGS $blocks"
fi

if [ "$HIVE_BOOTNODE" != "" ]; then
if [ "$HIVE_BOOTNODE" == "" ]; then
# Configure mining.
if [ "$HIVE_MINER" != "" ]; then
FLAGS="$FLAGS --miner-enabled --miner-coinbase=$HIVE_MINER"
Expand Down

0 comments on commit d9dca00

Please sign in to comment.