accounts/abi: address review concerns

This commit is contained in:
Martin Holst Swende
2018-01-13 15:12:52 +01:00
parent f0f594d045
commit 08c5d4dd27
4 changed files with 5 additions and 352 deletions

View File

@ -142,5 +142,5 @@ func (abi *ABI) MethodById(sigdata []byte) (*Method, error) {
return &method, nil
}
}
return nil, fmt.Errorf("ABI spec does not contain method signature in data: 0x%x", sigdata[:4])
return nil, fmt.Errorf("no method with id: %#x", sigdata[:4])
}