Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit 78c4796

Browse files
committed
Fix bug in rpc_get_ratings
1 parent bc5a91e commit 78c4796

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

market/protocol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ def rpc_dispute_close(self, sender, pubkey, encrypted):
353353
def rpc_get_ratings(self, sender, listing_hash=None):
354354
a = "ALL" if listing_hash is None else listing_hash.encode("hex")
355355
self.log.info("serving ratings for contract %s to %s" % (a, sender))
356-
self.audit.record(sender.id.encode("hex"), "GET_RATINGS", listing_hash.encode("hex"))
356+
self.audit.record(sender.id.encode("hex"), "GET_RATINGS", a)
357357
self.router.addContact(sender)
358358
try:
359359
ratings = []

0 commit comments

Comments
 (0)