第十阶段 stage 2(四):浏览器页(全局账本)、Web3 页签折行
This commit is contained in:
1 parent
e3e5ec2d6e
commit
a3e955ca59
17 files changed
+199
-6
No files matched your search
@@ -97,6 +97,8 @@ namespace Decentralized
|
||||
double net = amt - fee;
|
||||
var own = d.Own(t.To);
|
||||
Wallet.Transfer(pb, own ?? new Wallet(), t.Asset, net, Session.Price);
|
||||
d.Block += 1;
|
||||
d.Ledger.Add(new LedgerEntry { Block = d.Block, Day = StoreStation.GetDayCounter(), From = d.Address("poinbase"), To = t.To, Asset = t.Asset, Amount = net, Fee = fee });
|
||||
if (own != null)
|
||||
{
|
||||
TxRules.Record(own.History, new TxRecord { Addr = d.Address("poinbase"), Asset = t.Asset, Amount = net, Day = StoreStation.GetDayCounter(), In = true });
|
||||
|
||||
Reference in new issue
Block a user