fix cmdline addrequest
This commit is contained in:
parent
dff8f6b338
commit
fbc23a61a3
|
@ -571,7 +571,8 @@ class Commands:
|
||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
amount = int(Decimal(requested_amount)*COIN)
|
amount = int(Decimal(requested_amount)*COIN)
|
||||||
req = self.wallet.add_payment_request(addr, amount, memo, expiration, self.config)
|
req = self.wallet.make_payment_request(addr, amount, memo, expiration)
|
||||||
|
self.wallet.add_payment_request(req, self.config)
|
||||||
return self._format_request(req)
|
return self._format_request(req)
|
||||||
|
|
||||||
@command('w')
|
@command('w')
|
||||||
|
|
Loading…
Reference in New Issue