Problem for annoning host



  • Hello,
    I have a problem when I turn accept contrat to true. I have :

    [email protected]:/# siac host config acceptingcontracts true
    could not get host score estimate: no response from daemon

    what should I do ?



  • there is trouble this code:
    entry := modules.HostDBEntry{}
    entry.PublicKey = api.host.PublicKey()
    entry.HostExternalSettings = mergedSettings
    estimatedScoreBreakdown := api.renter.EstimateHostScore(entry)

    2017/07/11 05:05:32 http: panic serving 127.0.0.1:58122: runtime error: invalid memory address or nil pointer dereference
    goroutine 4376 [running]:
    net/http.(*conn).serve.func1(0xc420175c20)
    /opt/docker/sia/go/src/net/http/server.go:1721 +0xd0
    panic(0xa109a0, 0xe981c0)
    /opt/docker/sia/go/src/runtime/panic.go:489 +0x2cf
    github.com/NebulousLabs/Sia/api.(*API).hostEstimateScoreGET(0xc42010c3f0, 0xdc4ea0, 0xc4208607e0, 0xc4200f0a00, 0x0, 0x0, 0x0)

    I think that the function get public ?


Log in to reply