Test WIF decoding and encoding in highlevelcrypto #2208

Merged
PeterSurda merged 2 commits from gitea-83 into v0.6 2024-04-12 06:30:36 +02:00

2 Commits

Author SHA1 Message Date
feaee60632
Add a test for WIF decoding and encoding 2024-04-07 03:30:56 +03:00
c1ca7044d2
Moved decodeWalletImportFormat() from shared to highlevelcrypto,
not addresses, where it's supposed to be because it uses
pyelliptic.arithmetic, addresses.decodeBase58() returns int which needs
to be encoded. Defined encodeWalletImportFormat() and replaced all uses.
2024-04-07 03:30:50 +03:00