mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 07:51:27 +00:00
follow-up prev
This commit is contained in:
parent
b6d56ece82
commit
cc3da6c75f
1 changed files with 1 additions and 1 deletions
|
@ -1724,7 +1724,7 @@ class Abstract_Wallet(AddressSynchronizer, ABC):
|
||||||
util.trigger_callback('request_status', addr, status)
|
util.trigger_callback('request_status', addr, status)
|
||||||
|
|
||||||
def make_payment_request(self, address, amount, message, expiration):
|
def make_payment_request(self, address, amount, message, expiration):
|
||||||
amount = amount or None
|
amount = amount or 0
|
||||||
timestamp = int(time.time())
|
timestamp = int(time.time())
|
||||||
_id = bh2u(sha256d(address + "%d"%timestamp))[0:10]
|
_id = bh2u(sha256d(address + "%d"%timestamp))[0:10]
|
||||||
return OnchainInvoice(
|
return OnchainInvoice(
|
||||||
|
|
Loading…
Add table
Reference in a new issue