Skip to content

Commit

Permalink
fix: android channel details confirmations value
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasonvdb committed Sep 25, 2024
1 parent 6270891 commit 49502a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/android/src/main/java/com/reactnativeldk/Helpers.kt
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ val ChannelDetails.asJson: WritableMap
result.putInt("unspendable_punishment_reserve", (_unspendable_punishment_reserve as Option_u64Z.Some).some.toInt())
result.putInt("config_forwarding_fee_base_msat", (_config?._forwarding_fee_base_msat ?: 0))
result.putInt("config_forwarding_fee_proportional_millionths", (_config?._forwarding_fee_proportional_millionths ?: 0))
result.putInt("confirmations", (_confirmations_required as Option_u32Z.Some).some)
result.putInt("confirmations", (_confirmations as Option_u32Z.Some).some)

return result
}
Expand Down

0 comments on commit 49502a3

Please sign in to comment.