mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-21 16:14:23 +01:00
pay: Add timestamp of first part to listpays
Changelog-Added: JSON-RPC: The result returned by `listpays` now includes the timestamp of the first part of the payment
This commit is contained in:
@@ -3211,6 +3211,7 @@ def test_bolt11_null_after_pay(node_factory, bitcoind):
|
||||
pays = l2.rpc.listpays()["pays"]
|
||||
assert(pays[0]["bolt11"] == invl1)
|
||||
assert('amount_msat' in pays[0] and pays[0]['amount_msat'] == amt)
|
||||
assert('created_at' in pays[0])
|
||||
|
||||
|
||||
def test_mpp_presplit_routehint_conflict(node_factory, bitcoind):
|
||||
|
||||
Reference in New Issue
Block a user