• Juan Batiz-Benet's avatar
    Multiaddr.String no error · bd30912d
    Juan Batiz-Benet authored
    The error in String should not actually ocurr, as the multiaddr
    should have been valid to be constructed successfully, and thus
    should be encoded back to its string rep correctly.
    
    This will be bolstered by creating an interface (to prevent messing
    with the internal bytes)
    bd30912d
multiaddr_test.go 3.2 KB