mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
Remove prints
This commit is contained in:
@ -102,7 +102,6 @@ class DummyAccountNode():
|
|||||||
:param dest_user: user to send crypto to
|
:param dest_user: user to send crypto to
|
||||||
:param amount: amount of crypto to send
|
:param amount: amount of crypto to send
|
||||||
"""
|
"""
|
||||||
print("handle send " + self.node_id)
|
|
||||||
if source_user in self.balances:
|
if source_user in self.balances:
|
||||||
self.balances[source_user] -= amount
|
self.balances[source_user] -= amount
|
||||||
else:
|
else:
|
||||||
@ -119,7 +118,6 @@ class DummyAccountNode():
|
|||||||
:param dest_user: user to set crypto for
|
:param dest_user: user to set crypto for
|
||||||
:param amount: amount of crypto
|
:param amount: amount of crypto
|
||||||
"""
|
"""
|
||||||
print("handle set " + self.node_id)
|
|
||||||
self.balances[dest_user] = amount
|
self.balances[dest_user] = amount
|
||||||
|
|
||||||
def get_balance(self, user):
|
def get_balance(self, user):
|
||||||
|
|||||||
Reference in New Issue
Block a user