Skip to content

Commit

Permalink
Fix TestBandwidthAccountingCommunity
Browse files Browse the repository at this point in the history
  • Loading branch information
drew2a committed Nov 11, 2021
1 parent 9eb985a commit 600dc56
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ def create_node(self):
db = BandwidthDatabase(db_path=MEMORY_DB, my_pub_key=peer.public_key.key_to_bin())
ipv8 = MockIPv8(peer, BandwidthAccountingCommunity, database=db,
settings=BandwidthAccountingSettings())
community = ipv8.get_overlay(BandwidthAccountingCommunity)
# Dumb workaround for MockIPv8 not supporting key injection
community.database.my_pub_key = ipv8.my_peer.public_key.key_to_bin()
return ipv8

async def test_single_transaction(self):
Expand Down

0 comments on commit 600dc56

Please sign in to comment.