Commit 9a8e122
committed
REF: replace Buffer with Uint8Array where possible
- remove double conversion Uint8Array(hexToUint8Array(..))
- replace TextDecoder with uint8ArrayToString
- remove redundant if block
- revert unnecessary conversion in class/wallets/multisig-hd-wallet.ts
- remove Buffer from ecc.isPoint1 parent 67f440b commit 9a8e122
File tree
3 files changed
+6
-9
lines changed- class
- wallets
3 files changed
+6
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1685 | 1685 | | |
1686 | 1686 | | |
1687 | 1687 | | |
1688 | | - | |
| 1688 | + | |
1689 | 1689 | | |
1690 | 1690 | | |
1691 | 1691 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
520 | | - | |
| 520 | + | |
521 | 521 | | |
522 | 522 | | |
523 | 523 | | |
| |||
629 | 629 | | |
630 | 630 | | |
631 | 631 | | |
632 | | - | |
633 | | - | |
634 | | - | |
635 | | - | |
| 632 | + | |
636 | 633 | | |
637 | 634 | | |
638 | 635 | | |
| |||
1071 | 1068 | | |
1072 | 1069 | | |
1073 | 1070 | | |
1074 | | - | |
| 1071 | + | |
1075 | 1072 | | |
1076 | 1073 | | |
1077 | 1074 | | |
| |||
0 commit comments