You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #340: Test walletcreatefundedpsbt and walletprocesspsbt
1eff3fc Run the formatter (Jamil Lambert, PhD)
e0d928c Test walletprocesspsbt (Jamil Lambert, PhD)
9c491d9 Test walletcreatefundedpsbt (Jamil Lambert, PhD)
f0e8e4f Fix walletcreatefundedpsbt macro (Jamil Lambert, PhD)
Pull request description:
`walletcreatefundedpsbt` and `walletprocesspsbt` were implemented in v17 but untested. `walletcreatefundedpsbt` has no return changes up to v29, `walletprocesspsbt` changes once in v26.
- Fix `walletcreatefundedpsbt` macro:
The client macro passed an `Amount` to the RPC which parses to the
wrong format resulting in 0 BTC for that address.
The `inputs` struct has private fields and no constructor.
Add a constructor for `WalletCreateFundedPsbtInput`.
Convert the `Amount` in the `outputs` argument to an f64 in BTC before calling
the RPC.
- Add a test for `walletcreatefundedpsbt` and update the types table.
- Update the `walletprocesspsbt` struct in v26, test and update the types table.
- Run the formatter.
ACKs for top commit:
tcharding:
ACK 1eff3fc
Tree-SHA512: 9737def9bb6ee3a0804bda9a5e3443b0ffe37ddb5efec4d53ace7a43264a85f73c27343146c09c546f25d78226afaaaf1ad27709fde43a22093ce477851f7c3e
0 commit comments