channeldb+routing: fix format
This commit is contained in:
2 files changed
+4
-3
No files matched your search
@@ -43,7 +43,8 @@ var (
|
|||||||
|
|
||||||
// ErrPaymentTerminal is returned if we attempt to alter a payment that
|
// ErrPaymentTerminal is returned if we attempt to alter a payment that
|
||||||
// already has reached a terminal condition.
|
// already has reached a terminal condition.
|
||||||
ErrPaymentTerminal = errors.New("payment has reached terminal condition")
|
ErrPaymentTerminal = errors.New("payment has reached terminal " +
|
||||||
|
"condition")
|
||||||
|
|
||||||
// ErrAttemptAlreadySettled is returned if we try to alter an already
|
// ErrAttemptAlreadySettled is returned if we try to alter an already
|
||||||
// settled HTLC attempt.
|
// settled HTLC attempt.
|
||||||
@@ -77,7 +78,8 @@ var (
|
|||||||
|
|
||||||
// ErrMPPTotalAmountMismatch is returned if we try to register an MPP
|
// ErrMPPTotalAmountMismatch is returned if we try to register an MPP
|
||||||
// shard where the total amount doesn't match existing shards.
|
// shard where the total amount doesn't match existing shards.
|
||||||
ErrMPPTotalAmountMismatch = errors.New("mp payment total amount mismatch")
|
ErrMPPTotalAmountMismatch = errors.New("mp payment total amount " +
|
||||||
|
"mismatch")
|
||||||
|
|
||||||
// errNoAttemptInfo is returned when no attempt info is stored yet.
|
// errNoAttemptInfo is returned when no attempt info is stored yet.
|
||||||
errNoAttemptInfo = errors.New("unable to find attempt info for " +
|
errNoAttemptInfo = errors.New("unable to find attempt info for " +
|
||||||
|
|||||||
@@ -337,7 +337,6 @@ lifecycle:
|
|||||||
// Now that the shard was successfully sent, launch a go
|
// Now that the shard was successfully sent, launch a go
|
||||||
// routine that will handle its result when its back.
|
// routine that will handle its result when its back.
|
||||||
shardHandler.collectResultAsync(attempt)
|
shardHandler.collectResultAsync(attempt)
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user