Skip to content

Commit

Permalink
Merge pull request #69 from clightning4j/macros/fix_sendrawtransaction
Browse files Browse the repository at this point in the history
fix: upgrade the java library with the upstream
  • Loading branch information
vincenzopalazzo authored Jan 14, 2023
2 parents be7bba7 + d04d0a0 commit d952122
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion btcli4j-gen.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
# Script generated from gradle! By clightning4j

/home/vincent/.jdks/azul-15.0.9/bin/java -jar /home/vincent/Github/clightning4j/btcli4j/build/libs/btcli4j-all.jar
/usr/lib/jvm/java-17-oracle/bin/java -jar /home/vincent/Github/clightning4j/btcli4j/build/libs/btcli4j-all.jar
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dependencies {
implementation("com.google.code.gson:gson:2.8.6")
implementation("com.squareup.okhttp3:okhttp")
implementation("com.squareup.okhttp3:logging-interceptor")
implementation("io.github.clightning4j:jrpclightning:0.2.2")
implementation("io.github.clightning4j:jrpclightning:0.2.3")
implementation("io.github.clightning4j:lite-bitcoin-rpc:0.0.1-rc2-SNAPSHOT")

//Developing library
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ object JSONConverter {
gsonBuilder.setPrettyPrinting()
}

private val gson = gsonBuilder.create()
private val gson = gsonBuilder
.serializeNulls()
.create()

fun serialize(obj: Any): String? {
return gson.toJson(obj)
Expand Down

0 comments on commit d952122

Please sign in to comment.