Stop using hardcoded bootcoordinator in api

This commit is contained in:
Arnau B
2021-01-14 16:00:44 +01:00
parent 8f6b081f2c
commit 5ff42220ce
2 changed files with 6 additions and 12 deletions

View File

@@ -465,9 +465,8 @@ func TestMain(m *testing.M) {
}
bootForger := NextForger{
Coordinator: historydb.CoordinatorAPI{
Bidder: ethCommon.HexToAddress("0x0111111111111111111111111111111111111111"),
Forger: ethCommon.HexToAddress("0x0111111111111111111111111111111111111111"),
URL: "https://bootCoordinator",
Forger: auctionVars.BootCoordinator,
URL: auctionVars.BootCoordinatorURL,
},
}
// Set next forgers: set all as boot coordinator then replace the non boot coordinators