第十阶段 stage 1(三):钱包物品化、连接钱包、空投逐个授权、矿机收款地址

This commit is contained in:
ZHU MINCHAO committed 2026-11-05 01:37:23 +08:00
1 parent f732304f38
commit 59dd3c05bc
20 files changed
+462 -55

No files matched your search

+2 -1
View File
@@ -94,7 +94,7 @@ namespace Decentralized
{
if (!string.IsNullOrWhiteSpace(w.Label)) return w.Label;
int i = Session.Data.Wallets.IndexOf(w);
return i == 0 ? L.T("hw.wallet.main") : L.T("hw.wallet.n", w.Name ?? (i + 1).ToString());
return L.T("hw.wallet.n", w.Name ?? (i + 1).ToString());
}
private static Device Dev(Wallet w)
@@ -125,6 +125,7 @@ namespace Decentralized
/// <summary>终端"打开钱包转账" / DEX 签名请求:在当前连接的钱包上打开。转账填好币种和金额,地址留给玩家手输。</summary>
public static void OpenForBill(Bill bill)
{
if (!Session.Data.Connected) { TerminalWindow.Refresh(L.T("web3.err.noconn")); return; }
Pending = bill;
var dev = Dev(Session.Data.Hot);
if (dev.Tx != null && !dev.Tx.Finished) { Open(dev); return; }