mirror of
https://github.com/aljazceru/lnd-manageJ.git
synced 2026-01-22 23:44:21 +01:00
read max htlc from policy
This commit is contained in:
@@ -160,11 +160,15 @@ class ChannelControllerIT {
|
||||
.andExpect(jsonPath("$.balance.remoteReserveSat", is("10")))
|
||||
.andExpect(jsonPath("$.balance.remoteAvailableSat", is("113")))
|
||||
.andExpect(jsonPath("$.policies.local.enabled", is(false)))
|
||||
.andExpect(jsonPath("$.policies.remote.enabled", is(true)))
|
||||
.andExpect(jsonPath("$.policies.local.feeRatePpm", is(200)))
|
||||
.andExpect(jsonPath("$.policies.local.baseFeeMilliSat", is(0)))
|
||||
.andExpect(jsonPath("$.policies.local.timeLockDelta", is(40)))
|
||||
.andExpect(jsonPath("$.policies.local.maxHtlcMilliSat", is("0")))
|
||||
.andExpect(jsonPath("$.policies.remote.enabled", is(true)))
|
||||
.andExpect(jsonPath("$.policies.remote.feeRatePpm", is(300)))
|
||||
.andExpect(jsonPath("$.policies.remote.baseFeeMilliSat", is(0)))
|
||||
.andExpect(jsonPath("$.policies.remote.timeLockDelta", is(144)))
|
||||
.andExpect(jsonPath("$.policies.remote.maxHtlcMilliSat", is("22222000")))
|
||||
.andExpect(jsonPath("$.feeReport.earnedMilliSat", is("1234")))
|
||||
.andExpect(jsonPath("$.feeReport.sourcedMilliSat", is("567")))
|
||||
.andExpect(jsonPath("$.flowReport.forwardedSentMilliSat", is("1000")))
|
||||
|
||||
Reference in New Issue
Block a user