Add some blockchain RPC handlers and DB fetching routines #55
1 changed files with 2 additions and 2 deletions
|
@ -39,10 +39,10 @@ func TestUDPPing(t *testing.T) {
|
||||||
toPort := "50001"
|
toPort := "50001"
|
||||||
|
|
||||||
pong, err := server.UDPPing(toAddr, toPort)
|
pong, err := server.UDPPing(toAddr, toPort)
|
||||||
gotCountry := pong.DecodeCountry()
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Println(err)
|
t.Skipf("ping failed: %v", err)
|
||||||
}
|
}
|
||||||
|
gotCountry := pong.DecodeCountry()
|
||||||
|
|
||||||
res, err := exec.Command("dig", "@resolver4.opendns.com", "myip.opendns.com", "+short").Output()
|
res, err := exec.Command("dig", "@resolver4.opendns.com", "myip.opendns.com", "+short").Output()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue