fix payment for already found hints

This commit is contained in:
Fabian Dill
2020-04-22 15:50:14 +02:00
parent e02025c534
commit 9842399d8b
2 changed files with 32 additions and 29 deletions

View File

@@ -168,6 +168,9 @@ class Hint(typing.NamedTuple):
return Hint(self.receiving_player, self.finding_player, self.location, self.item, found)
return self
def __hash__(self):
return hash((self.receiving_player, self.finding_player, self.location, self.item))
def get_public_ipv4() -> str:
import socket
import urllib.request