pm47
pm47
My bet is a conversion error from `BigDecimal` to `Decimal` at serialization (we should probably use `Formats.withBigDecimal()` and not convert to `Decimal`): https://github.com/ACINQ/eclair/blob/e298ba96ea934fdab4297f16ac1405eb0463861e/eclair-core/src/main/scala/fr/acinq/eclair/json/JsonSerializers.scala#L169-L171 We do use `Formats.withBigDecimal()` to parse bitcoind...
Release 2.0.5 uses Kotlin 2.0.21, you must be behind.
Also, `payInvoice()` and `payOffer()` should have twins that immediately answer with a `paymentId` and do not wait for the payment to occur. Callers would rely on events to find out...
The catch here is that the invoice is not persisted and would need to be recreated after startup though IIUC.
Why are you going with SHA256 here, but went with SHA512 in eclair?