err correction

This commit is contained in:
Juan Batiz-Benet 2015-01-09 05:57:03 -08:00
parent 32d9d68b64
commit 0d7b54ba43

View File

@ -33,7 +33,7 @@ func stringToBytes(s string) ([]byte, error) {
if p.Size > 0 {
if len(sp) < 1 {
return nil, fmt.Errorf("protocol requires address, none given: %s", sp)
return nil, fmt.Errorf("protocol requires address, none given: %s", p.Name)
}
a, err := addressStringToBytes(p, sp[0])
if err != nil {