Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dutch_auction' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
457813723 committed Nov 21, 2023
2 parents fa0ff47 + 0f73222 commit 6b4dae3
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions block_parser/action_account_cell.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,23 +257,11 @@ func (b *BlockParser) ActionBidExpiredAccountAuction(req FuncTransactionHandleRe
BlockNumber: req.BlockNumber,
AccountId: accountId,
Account: account,
Action: common.DasActionTransferAccount,
Action: common.DasActionBidExpiredAccountAuction,
ServiceType: dao.ServiceTypeRegister,
ChainType: oldHex.ChainType,
Address: oldHex.AddressHex,
Capacity: 0,
Outpoint: common.OutPoint2String(req.TxHash, uint(builder.Index)),
BlockTimestamp: req.BlockTimestamp,
})
transactionInfos = append(transactionInfos, dao.TableTransactionInfo{
BlockNumber: req.BlockNumber,
AccountId: accountId,
Account: account,
Action: common.DasActionTransferAccount,
ServiceType: dao.ServiceTypeRegister,
ChainType: oHex.ChainType,
Address: oHex.AddressHex,
Capacity: 0,
Capacity: res.Transaction.Outputs[req.Tx.Inputs[builder.Index].PreviousOutput.Index].Capacity,
Outpoint: common.OutPoint2String(req.TxHash, uint(builder.Index)),
BlockTimestamp: req.BlockTimestamp,
})
Expand Down

0 comments on commit 6b4dae3

Please sign in to comment.