Commit 1f4533d
committed
fix(sdk-core): exempt FLRP import from TSS recipient guard on PascalCase buildParams
signTransactionTss passes buildParams.type as 'Import' while WP stores
intentType as 'import', so the WCN-151 recipient guard still threw after
adding lowercase import to NO_RECIPIENT_TX_TYPES. Also check intentType
when resolving the exemption.
Co-authored-by: Cursor <cursoragent@cursor.com>
TICKET: CECHO-14251 parent 068d9ec commit 1f4533d
2 files changed
Lines changed: 17 additions & 1 deletion
File tree
- modules/sdk-core
- src/bitgo/utils/tss
- test/unit/bitgo/utils/tss
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
121 | 130 | | |
122 | 131 | | |
123 | 132 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
129 | 136 | | |
130 | 137 | | |
131 | 138 | | |
| |||
0 commit comments