Fixed error in rebase.

This commit is contained in:
CalDescent 2022-09-24 14:35:02 +01:00
parent e80dd31fb4
commit 7a60f713ea

View File

@ -434,9 +434,14 @@ public class BlockMinter extends Thread {
blockchainLock.unlock();
}
if (newBlockMinted) {
// Broadcast our new chain to network
Network.getInstance().broadcastOurChain();
if (newBlockMinted) {
// Broadcast our new chain to network
Network.getInstance().broadcastOurChain();
}
} catch (InterruptedException e) {
// We've been interrupted - time to exit
return;
}
}
} catch (DataException e) {