CrAgr: implemented the transfer operation

Signed-off-by: Xavier G <xavier@tuxfamily.org>
Signed-off-by: Romain Bignon <romain@peerfuse.org>
This commit is contained in:
Xavier G 2010-11-27 17:21:00 +01:00 committed by Romain Bignon
commit 5906ea8326
4 changed files with 163 additions and 1 deletions

View file

@ -94,3 +94,7 @@ class CragrBackend(BaseBackend, ICapBank):
def iter_history(self, account):
for history in self.browser.get_history(account):
yield history
def transfer(self, account, to, amount, reason=None):
return self.browser.do_transfer(account, to, amount, reason)