mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-07-22 19:35:51 +00:00
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:
+5
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user