Skip to content
Snippets Groups Projects
Commit fc6e884b authored by Adrien Béraud's avatar Adrien Béraud
Browse files

python: adapt to new owner api

parent 9d7f6d28
Branches
Tags
No related merge requests found
......@@ -139,7 +139,7 @@ cdef class Value(object):
property owner:
def __get__(self):
h = InfoHash()
h._infohash = self._value.get().owner.getId()
h._infohash = self._value.get().owner.get().getId()
return h
property recipient:
def __get__(self):
......
......@@ -86,7 +86,7 @@ cdef extern from "opendht/value.h" namespace "dht":
Value(const uint8_t* dat_ptr, size_t dat_len) except +
string toString() const
uint64_t id
PublicKey owner
shared_ptr[PublicKey] owner
InfoHash recipient
vector[uint8_t] data
string user_type
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment