forked from TrueCloudLab/neoneo-go
address: rename functions as per #579 comments
Make them more clear to understand.
This commit is contained in:
parent
53e6fbbbf9
commit
b246653f62
16 changed files with 28 additions and 28 deletions
|
@ -673,7 +673,7 @@ func (c *codegen) convertBuiltin(expr *ast.CallExpr) {
|
|||
// contain double quotes that need to be stripped.
|
||||
addressStr := expr.Args[0].(*ast.BasicLit).Value
|
||||
addressStr = strings.Replace(addressStr, "\"", "", 2)
|
||||
uint160, err := address.DecodeUint160(addressStr)
|
||||
uint160, err := address.StringToUint160(addressStr)
|
||||
if err != nil {
|
||||
c.prog.Err = err
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue