LtbLightning / payjoin-ffi

Other
11 stars 8 forks source link

bdk and payjoin integration error #25

Closed BitcoinZavior closed 4 months ago

BitcoinZavior commented 5 months ago

Using bdk with payjoin results in payjoin throwing The receiver sent an invalid response: proposed transaction outputs contain key paths

Steps to replicate: Follow the steps for Running the integration tests: https://github.com/LtbLightning/payjoin-ffi?tab=readme-ov-file#running-the-integration-test

Run the integration test which uses bdk: cargo test --package payjoin_ffi --test bdk_integration v1_to_v1_full_cycle This will result in ResponseError { message: "The receiver sent an invalid response: proposed transaction outputs contain key paths" }

Versions: This uses the pre-alpha release v0.29 https://github.com/bitcoindevkit/bdk/releases/tag/v0.29.0

BitcoinZavior commented 5 months ago

There is a similar issue which was fixed in bdk ffi 1.0 alpha: : https://github.com/bitcoindevkit/bdk/issues/1243

There is an alternate fix in rust payjoin here: Depends on https://github.com/payjoin/rust-payjoin/pull/270

DanGould commented 4 months ago

This should be closed by #28 and payjoin v0.17.0