mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-18 04:40:03 +02:00
internal/server/ship_processor.go: set FirstReceiver on ActionTrace messages.
This commit is contained in:
parent
700d7d0168
commit
b3570e7e96
1 changed files with 7 additions and 6 deletions
|
|
@ -228,12 +228,13 @@ func (processor *ShipProcessor) processBlock(block *ship.GetBlocksResultV0) {
|
|||
}
|
||||
|
||||
act := message.ActionTrace{
|
||||
TxID: trace.ID.String(),
|
||||
BlockNum: block.Block.BlockNumber(),
|
||||
Timestamp: block.Block.Timestamp.Time.UTC(),
|
||||
Name: act_trace.Act.Name.String(),
|
||||
Contract: act_trace.Act.Account.String(),
|
||||
Receiver: act_trace.Receiver.String(),
|
||||
TxID: trace.ID.String(),
|
||||
BlockNum: block.Block.BlockNumber(),
|
||||
Timestamp: block.Block.Timestamp.Time.UTC(),
|
||||
Name: act_trace.Act.Name.String(),
|
||||
Contract: act_trace.Act.Account.String(),
|
||||
Receiver: act_trace.Receiver.String(),
|
||||
FirstReceiver: act_trace.Act.Account.String() == act_trace.Receiver.String(),
|
||||
}
|
||||
|
||||
if act_trace.Receipt != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue