mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-22 00:24:19 +01:00
setchannel: add minhtlc
Suggested by @m-schmook, I realized that if we append it later I'll never get it right: I expect parameters min and max, not max and min! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Added: Protocol: you can now alter the `htlc_minimum_msat` and `htlc_maximum_msat` your node advertizes.
This commit is contained in:
@@ -114,6 +114,8 @@ routehint_candidates(const tal_t *ctx,
|
||||
continue;
|
||||
}
|
||||
|
||||
/* FIXME: we don't actually check htlc_minimum_msat! */
|
||||
|
||||
/* If they set an htlc_maximum_msat, consider that the
|
||||
* capacity ceiling. We *could* do multiple HTLCs,
|
||||
* but presumably that would defeat the spirit of the
|
||||
|
||||
Reference in New Issue
Block a user