Commit c4e02132 authored by Luke Champine's avatar Luke Champine Committed by GitHub

Merge pull request #2142 from mtlynch/fix-if

Correct the log message for contract creation failure
parents bf41b5d5 4a5d453a
......@@ -503,7 +503,7 @@ func (c *Contractor) threadedContractMaintenance() {
// Attempt forming a contract with this host.
newContract, err := c.managedNewContract(host, numSectors, endHeight)
if err != nil {
c.log.Printf("Attempted to form a contract with %v, but if failed: %v\n", host.NetAddress, err)
c.log.Printf("Attempted to form a contract with %v, but negotiation failed: %v\n", host.NetAddress, err)
continue
}
newContract.GoodForUpload = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment