Skip to content

Commit a3a9926

Browse files
hackaugustoLefterisJP
authored andcommitted
removed the mock blockchain
1 parent 1761938 commit a3a9926

26 files changed

+226
-1263
lines changed

raiden/api/python.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def deposit(self, token_address, partner_address, amount):
188188

189189
# Obtain the netting channel and fund it by depositing the amount
190190
netting_channel = self.raiden.chain.netting_channel(netcontract_address)
191-
netting_channel.deposit(self.raiden.address, amount)
191+
netting_channel.deposit(amount)
192192

193193
return channel
194194

@@ -489,7 +489,6 @@ def close(self, token_address, partner_address):
489489

490490
netting_channel = channel.external_state.netting_channel
491491
netting_channel.close(
492-
self.raiden.address,
493492
first_transfer,
494493
)
495494

raiden/blockchain/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +0,0 @@
1-
# -*- coding: utf-8 -*-
2-
"""
3-
This module contains a mock implementation of a block chain that is suficient
4-
to simulate its expected behavior for testing purposes.
5-
"""

0 commit comments

Comments
 (0)