|
Ran
|
Jobs
1
|
Files
51
|
Run time
1min
|
Badge
README BADGES
|
push
github
Remove unneeded PSBT fields when extracting request (#907) `PsbtContextBuilder` stores a Psbt with [unneeded fields removed](https://github.com/payjoin/rust-payjoin/blob/<a class=hub.com/payjoin/rust-payjoin/commit/57ec41b1ebfd325ded9fc216096ec3930ed40b4b">57ec41b1e/payjoin/src/core/send/mod.rs#L524). Our API later attempts to restore _some_ of these fields after we process the response from the receiver. https://github.com/payjoin/rust-payjoin/blob/57ec41b1ebfd325ded9fc216096ec3930ed40b4b/payjoin/src/core/send/mod.rs#L411 However, since the original psbt was already stripped of "unneeded" fields there is nothing to restore. This commit removes the extranous PSBT fields when we are extracting the POST request but leaves the fields in the `original_psbt` untouched. Related ticket: #906
36 of 36 new or added lines in 1 file covered. (100.0%)
7940 of 9241 relevant lines covered (85.92%)
507.26 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 16605192943.1 | 51 |
85.92 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|