restoring type fix

This commit is contained in:
julian 2023-01-13 09:26:37 -06:00
parent 7e6daad779
commit 13e6fc6b47
5 changed files with 5 additions and 5 deletions

View file

@ -440,7 +440,7 @@ class BitcoinWallet extends CoinServiceAPI with WalletCache, WalletDB {
// reset counter
gapCounter = 0;
// add info to derivations
derivations[node["address"] as String] = {
derivations[address.value] = {
"pubKey": Format.uint8listToString(
(node["node"] as bip32.BIP32).publicKey),
"wif": (node["node"] as bip32.BIP32).toWIF(),

View file

@ -427,7 +427,7 @@ class BitcoinCashWallet extends CoinServiceAPI with WalletCache, WalletDB {
// reset counter
gapCounter = 0;
// add info to derivations
derivations[node["address"] as String] = {
derivations[address.value] = {
"pubKey": Format.uint8listToString(
(node["node"] as bip32.BIP32).publicKey),
"wif": (node["node"] as bip32.BIP32).toWIF(),

View file

@ -457,7 +457,7 @@ class LitecoinWallet extends CoinServiceAPI with WalletCache, WalletDB {
// reset counter
gapCounter = 0;
// add info to derivations
derivations[node["address"] as String] = {
derivations[address.value] = {
"pubKey": Format.uint8listToString(
(node["node"] as bip32.BIP32).publicKey),
"wif": (node["node"] as bip32.BIP32).toWIF(),

View file

@ -447,7 +447,7 @@ class NamecoinWallet extends CoinServiceAPI with WalletCache, WalletDB {
// reset counter
gapCounter = 0;
// add info to derivations
derivations[node["address"] as String] = {
derivations[address.value] = {
"pubKey": Format.uint8listToString(
(node["node"] as bip32.BIP32).publicKey),
"wif": (node["node"] as bip32.BIP32).toWIF(),

View file

@ -430,7 +430,7 @@ class ParticlWallet extends CoinServiceAPI with WalletCache, WalletDB {
// reset counter
gapCounter = 0;
// add info to derivations
derivations[node["address"] as String] = {
derivations[address.value] = {
"pubKey": Format.uint8listToString(
(node["node"] as bip32.BIP32).publicKey),
"wif": (node["node"] as bip32.BIP32).toWIF(),