mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2026-05-22 13:56:30 +03:00
Fix coords print
This commit is contained in:
@@ -300,7 +300,7 @@ func handleGetSelf(res map[string]interface{}, verbose bool) {
|
|||||||
if boxSigKey, ok := v.(map[string]interface{})["key"].(string); ok {
|
if boxSigKey, ok := v.(map[string]interface{})["key"].(string); ok {
|
||||||
fmt.Println("Public key:", boxSigKey)
|
fmt.Println("Public key:", boxSigKey)
|
||||||
}
|
}
|
||||||
if coords, ok := v.(map[string]interface{})["coords"].(string); ok {
|
if coords, ok := v.(map[string]interface{})["coords"].([]interface{}); ok {
|
||||||
fmt.Println("Coords:", coords)
|
fmt.Println("Coords:", coords)
|
||||||
}
|
}
|
||||||
if verbose {
|
if verbose {
|
||||||
|
|||||||
Reference in New Issue
Block a user