add "is active" to channel details

This commit is contained in:
Carsten Otto
2021-11-23 22:41:01 +01:00
parent 073d0b3d17
commit 1af968ee25
11 changed files with 90 additions and 19 deletions

View File

@@ -73,6 +73,7 @@ class ChannelDetailsControllerIT {
.andExpect(jsonPath("$.capacity", is(String.valueOf(CAPACITY.satoshis()))))
.andExpect(jsonPath("$.openHeight", is(CHANNEL_ID.getBlockHeight())))
.andExpect(jsonPath("$.private", is(true)))
.andExpect(jsonPath("$.active", is(true)))
.andExpect(jsonPath("$.onChainCosts.openCosts", is("1000")))
.andExpect(jsonPath("$.onChainCosts.closeCosts", is("2000")))
.andExpect(jsonPath("$.balance.localBalance", is("2000")))