Commit dd21649
committed
perms: move perms.go into looprpc
Currently, the Lightning Node Connect WASM client imports looprpc and
the entire loop module to access perms.go. This causes issues because
loop imports taproot-assets, leading to too many symbols for the WASM
build. To resolve this, we move perms.go—related to RPC endpoints—into
looprpc. Looprpc then becomes the only module imported by the LNC WASM
client, allowing the rest of loop to import taproot-assets freely.1 parent 7e81916 commit dd21649
2 files changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
502 | 501 | | |
503 | 502 | | |
504 | 503 | | |
505 | | - | |
| 504 | + | |
506 | 505 | | |
507 | 506 | | |
508 | 507 | | |
| |||
530 | 529 | | |
531 | 530 | | |
532 | 531 | | |
533 | | - | |
| 532 | + | |
534 | 533 | | |
535 | 534 | | |
536 | 535 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments