• Steven Allen's avatar
    fix: improve error handling in dual dht · 04ed71c7
    Steven Allen authored
    1. FindPeer should succeed as long as we find the peer in one DHT.
    2. If we get a kbucket error from one DHT, return the error from the other DHT.
    3. Avoid returning the same error twice.
    04ed71c7
dual.go 7.45 KB