clightning4j / JRPClightning

:zap: Java framework for C-Lightning to work with the RPC interface, and also the library simplifies the work to develop custom plugins with Java, Kotlin, and all the languages that supports the Java dependencies :zap:
https://clightning4j.github.io/JRPClightning/
GNU General Public License v2.0
16 stars 9 forks source link

Fixes mapping json name in ClightningChannels #56

Closed vincenzopalazzo closed 3 years ago

vincenzopalazzo commented 3 years ago

There is a bug in the mapping of the following class

In particular, the following code

  @Expose
  @SerializedName("amount_sat")
  private String amountSat;

should be

  @Expose
  @SerializedName("amount_msat")
  private String amountMilliSat;

Change also the getter method name.