1
0

Factorize code in create_routes_for_payment.

Calling suggest_splits with exclude_single_part_payments=False
This commit is contained in:
ThomasV
2022-09-20 13:22:12 +02:00
parent b8cb561d1a
commit 20bcb15480
2 changed files with 117 additions and 192 deletions

View File

@@ -265,6 +265,7 @@ class MockLNWallet(Logger, EventListener, NetworkRetryManager[LNPeerAddr]):
_handle_chanupd_from_failed_htlc = LNWallet._handle_chanupd_from_failed_htlc
_on_maybe_forwarded_htlc_resolved = LNWallet._on_maybe_forwarded_htlc_resolved
_force_close_channel = LNWallet._force_close_channel
suggest_splits = LNWallet.suggest_splits
class MockTransport: