|
|
@ -3251,11 +3251,11 @@ class LightningDTests(BaseLightningDTests): |
|
|
|
|
|
|
|
# Can't pay while its offline. |
|
|
|
self.assertRaises(ValueError, l1.rpc.sendpay, to_json(route), rhash) |
|
|
|
l1.daemon.wait_for_log('Failing: First peer not ready: WIRE_TEMPORARY_CHANNEL_FAILURE') |
|
|
|
l1.daemon.wait_for_log('failed: WIRE_TEMPORARY_CHANNEL_FAILURE \\(First peer not ready\\)') |
|
|
|
|
|
|
|
# Should fail due to temporary channel fail |
|
|
|
self.assertRaises(ValueError, l1.rpc.sendpay, to_json(route), rhash) |
|
|
|
l1.daemon.wait_for_log('Failing: First peer not ready: WIRE_TEMPORARY_CHANNEL_FAILURE') |
|
|
|
l1.daemon.wait_for_log('failed: WIRE_TEMPORARY_CHANNEL_FAILURE \\(First peer not ready\\)') |
|
|
|
assert not l1.daemon.is_in_log('Payment is still in progress') |
|
|
|
|
|
|
|
# After it sees block, someone should close channel. |
|
|
|