wtdb: add TowerStatus to Tower
This is added as a TLV record meaning that all the towers currently on disk that don't have this new field will be seen as Active.
This commit is contained in:
2 files changed
+65
-2
No files matched your search
@@ -179,6 +179,7 @@ func TestCodec(tt *testing.T) {
|
||||
obj := wtdb.Tower{
|
||||
IdentityKey: pk,
|
||||
Addresses: addrs,
|
||||
Status: wtdb.TowerStatus(r.Uint32()),
|
||||
}
|
||||
|
||||
v[0] = reflect.ValueOf(obj)
|
||||
|
||||
Reference in new issue
Block a user