protobuf for network list

This commit is contained in:
Darien Raymond committed 2016-09-22 12:14:50 +02:00
1 parent dc6b7e2e75
commit 88ae8248a5
5 files changed
+34 -17

No files matched your search

+1 -1
View File
@@ -13,6 +13,6 @@ func (this *NetworkList) UnmarshalJSON(data []byte) error {
if err := json.Unmarshal(data, &strlist); err != nil {
return err
}
*this = NewNetworkList(strlist)
*this = *NewNetworkList(strlist)
return nil
}