(address string)
| 139 | } |
| 140 | |
| 141 | func IsBase58Address(address string) bool { |
| 142 | if address == "" { |
| 143 | return false |
| 144 | } |
| 145 | _, err := common.AddressFromBase58(address) |
| 146 | return err == nil |
| 147 | } |
| 148 | |
| 149 | //ParseAddress return base58 address from base58, label or index |
| 150 | func ParseAddress(address string, ctx *cli.Context) (string, error) { |
no test coverage detected