mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-18 21:04:00 +01:00
Apply @cdecker typo suggestions from code review
Co-authored-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
parent
e065cd6be4
commit
3ae4ce736d
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
|||
/**
|
||||
* random_select: return true if we should select this one.
|
||||
* @weight: weight for this option (use 1.0 if all the same)
|
||||
* @tot_wieght: returns with sum of weights (must be initialized to zero)
|
||||
* @tot_weight: returns with sum of weights (must be initialized to zero)
|
||||
*
|
||||
* This always returns true on the first non-zero weight, and weighted
|
||||
* randomly from then on.
|
||||
|
|
|
@ -12,7 +12,7 @@ struct route {
|
|||
struct gossmap_chan *c;
|
||||
};
|
||||
|
||||
/* Can c carrt amount in dir? */
|
||||
/* Can c carry amount in dir? */
|
||||
bool route_can_carry(const struct gossmap *map,
|
||||
const struct gossmap_chan *c,
|
||||
int dir,
|
||||
|
|
Loading…
Add table
Reference in a new issue