mirror of
https://github.com/vacp2p/dst-gossipsub-test-node-go.git
synced 2026-01-07 03:03:55 -05:00
Modified path to json
This commit is contained in:
2
main.go
2
main.go
@@ -130,7 +130,7 @@ func resolveAddress(addr string) (net.IP, error) {
|
||||
}
|
||||
|
||||
func readIDsFile() map[string]interface{} {
|
||||
fileContent, err := os.ReadFile("ids.json")
|
||||
fileContent, err := os.ReadFile("/node/ids.json")
|
||||
if err != nil {
|
||||
fmt.Println("Error reading the JSON file:", err)
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user