multi: enhance loggings and fix logging format

Also adds TODO for a possible bug.
This commit is contained in:
yyforyongyu committed 2023-02-23 21:56:08 +08:00
1 parent d793a53bba
commit 6618ab493a
7 files changed
+48 -11

No files matched your search

+2
View File
@@ -291,6 +291,8 @@ lifecycle:
continue lifecycle
}
log.Tracef("Found route: %s", spew.Sdump(rt.Hops))
// If this route will consume the last remaining amount to send
// to the receiver, this will be our last shard (for now).
lastShard := rt.ReceiverAmt() == currentState.remainingAmt