fix: thread bitcoinAddress/bitcoinPublicKey through PolkadotVaultMetaAccount

CI caught "no parameter with name 'bitcoinAddress'" in AccountMappers.kt -
every other MetaAccount subclass got these constructor params threaded
through in the Phase 2 batch, but PolkadotVaultMetaAccount only got the
isBitcoinBased guard in supportsAddingChainAccount(), not the params.
This commit is contained in:
2026-07-12 15:00:49 -07:00
parent 69b311cb47
commit af0bfa1560
@@ -22,6 +22,8 @@ class PolkadotVaultMetaAccount(
parentMetaId: Long?,
tronAddress: ByteArray? = null,
tronPublicKey: ByteArray? = null,
bitcoinAddress: ByteArray? = null,
bitcoinPublicKey: ByteArray? = null,
) : DefaultMetaAccount(
id = id,
globallyUniqueId = globallyUniqueId,
@@ -37,7 +39,9 @@ class PolkadotVaultMetaAccount(
chainAccounts = chainAccounts,
parentMetaId = parentMetaId,
tronAddress = tronAddress,
tronPublicKey = tronPublicKey
tronPublicKey = tronPublicKey,
bitcoinAddress = bitcoinAddress,
bitcoinPublicKey = bitcoinPublicKey
) {
override suspend fun supportsAddingChainAccount(chain: Chain): Boolean {