fix: add BitcoinNative branch to exhaustive Chain.Asset.Type whens

CI caught onChainAssetId's when as non-exhaustive; a codebase-wide sweep
for every other exhaustive when on Chain.Asset.Type found one more
(existentialDepositError in Common.kt) that would have failed the same way.
This commit is contained in:
2026-07-12 15:07:30 -07:00
parent af0bfa1560
commit 1830024ed0
2 changed files with 2 additions and 0 deletions
@@ -637,6 +637,7 @@ val Chain.Asset.onChainAssetId: String?
is Type.EvmNative -> null
is Type.Trc20 -> this.type.contractAddress
Type.TronNative -> null
Type.BitcoinNative -> null
Type.Unsupported -> error("Unsupported assetId type: ${this.type::class.simpleName}")
}