mirror of
https://github.com/aljazceru/lnd-manageJ.git
synced 2026-01-22 15:35:10 +01:00
add openInitiator to channel basic info/details
This commit is contained in:
@@ -74,6 +74,7 @@ class ChannelControllerIT {
|
||||
.andExpect(jsonPath("$.channelPoint", is(CHANNEL_POINT.toString())))
|
||||
.andExpect(jsonPath("$.remotePubkey", is(PUBKEY_2.toString())))
|
||||
.andExpect(jsonPath("$.capacity", is(String.valueOf(CAPACITY.satoshis()))))
|
||||
.andExpect(jsonPath("$.openInitiator", is("REMOTE")))
|
||||
.andExpect(jsonPath("$.openHeight", is(CHANNEL_ID_2.getBlockHeight())))
|
||||
.andExpect(jsonPath("$.status.private", is(false)))
|
||||
.andExpect(jsonPath("$.status.active", is(false)))
|
||||
@@ -103,6 +104,7 @@ class ChannelControllerIT {
|
||||
.andExpect(jsonPath("$.remotePubkey", is(PUBKEY_2.toString())))
|
||||
.andExpect(jsonPath("$.remoteAlias", is(ALIAS_2)))
|
||||
.andExpect(jsonPath("$.capacity", is(String.valueOf(CAPACITY.satoshis()))))
|
||||
.andExpect(jsonPath("$.openInitiator", is("LOCAL")))
|
||||
.andExpect(jsonPath("$.openHeight", is(CHANNEL_ID.getBlockHeight())))
|
||||
.andExpect(jsonPath("$.status.private", is(true)))
|
||||
.andExpect(jsonPath("$.status.active", is(true)))
|
||||
|
||||
Reference in New Issue
Block a user