This repository was archived by the owner on Feb 8, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
This repository was archived by the owner on Feb 8, 2026. It is now read-only.
[Bug]: Bitkit misses address indexes when switching networks #780
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingmedium priorityThis should be worked on soon.This should be worked on soon.
Description
Describe the bug
After switching wallet network addresses at one or more indexes are missing. Unused address indexes are skipped when generating addresses when switching networks.
Reproduce
- Create new wallet
- Switch to regtest
- Check Redux store wallet -> wallets -> wallet0 -> addresses -> bitcoinRegtest -> p2wpkh
Addresses should start from index 0, but they starts with 1:
1a42c8f5e92577267cc1595c53d5f476f4b32a8f9d0f391cfc0e4a5b689851d4: {
address: "bcrt1qxsvz97cp99ll3d3p55nfvs4ynwf2vuzw5wudcy"
index: 2
path: "m/84'/0'/0'/0/2"
publicKey: "03a8f6bb568e2ac4135d0f7501e664625c0988983a632c3503f0e28ce4bfc957dd"
scriptHash: "1a42c8f5e92577267cc1595c53d5f476f4b32a8f9d0f391cfc0e4a5b689851d4"
},
222088841d13b644374c36420a27bd2bee613c97f43c725618c55a65116cb696: {
address: "bcrt1q389nnnnua2q9d8h48asn5fvkugumk3dh74vthn"
index: 4
path: "m/84'/0'/0'/0/4"
publicKey: "02432d476301b983e7096c5cf481706722c8d146f305c648375e44fae0260a6fe0"
scriptHash: "222088841d13b644374c36420a27bd2bee613c97f43c725618c55a65116cb696"
},
a517806b70620a720fe571e3449176092876e6575a3b54d9fc01223db533fbbb: {
address: "bcrt1qg7hrrg0swlh6mepm7r6cjy6gkr3zr9pwtcxekd"
index: 1
path: "m/84'/0'/0'/0/1"
publicKey: "025d38a2e7f02a7448072bf34e53b28e78c23f48c56f322d398e5b48ac97a57552"
scriptHash: "a517806b70620a720fe571e3449176092876e6575a3b54d9fc01223db533fbbb"
},
bc9e5d449d70377b350ec2cb45228bb22d91f04516cddce8c0db57c248e9743c: {
address: "bcrt1q5cmptwr4gh0d78uqv8v06tr3w5suuv2y44a9v6"
index: 5
path: "m/84'/0'/0'/0/5"
publicKey: "0216503106f7f0efe34569548f387cd07d9726dc654eb333925b7ed4883623c809"
scriptHash: "bc9e5d449d70377b350ec2cb45228bb22d91f04516cddce8c0db57c248e9743c"
},
ca28648ab53e145c9835504c974293ceea4257fd1d7da93b2fdad66dcc3448d8: {
address: "bcrt1qvd47eknexlkgrumgzuvad893qy0elj8257wqq9"
index: 3
path: "m/84'/0'/0'/0/3"
publicKey: "03d1c3dd66f91343f255b7d0c5cc54fed0e0497c3ed9853eccef7c187658741d1b"
scriptHash: "ca28648ab53e145c9835504c974293ceea4257fd1d7da93b2fdad66dcc3448d8"
}
Screenshots / Recording
No response
Operating system
iOS
Bitkit version
No response
Log output
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingmedium priorityThis should be worked on soon.This should be worked on soon.