Skip to content

copied usdt deposit details show the raw network id instead of its name #963

Closed

Description

@jvsena42

Found while driving usdt-bridge-support.xml for #948 at ab313b1. That PR touched this function but not this line.

Observed

Copy Details on a deposit gives Source network: polygon (or base), the raw id. Transfer details already use display names (Recipient network: Arbitrum One).

Expected

Source network: Polygon, matching the label shown on screen.

Steps to reproduce

  1. Open Cross-Network Deposits, open a Polygon deposit, tap Details.
  2. Tap Copy Details and paste the result.

Root cause

UsdtSupportActions.swift:49 interpolates deposit.network; the transfer variant uses destination.label (:32).

Suggested fix

Use deposit.networkLabel (UsdtDepositHistoryView.swift:390-392), which falls back to the raw id for unknown networks.

Android twin: synonymdev/bitkit-android#1518

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions