mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-17 04:30:03 +02:00
move app/types.go to transport/message/types.go
This commit is contained in:
parent
0027a80af0
commit
5202247200
2 changed files with 3 additions and 3 deletions
|
|
@ -57,7 +57,7 @@ func (processor *ShipProcessor) processBlock(block *ship.GetBlocksResultV0) {
|
|||
}
|
||||
|
||||
if block.ThisBlock.BlockNum%10 == 0 {
|
||||
hb := HearthBeat{
|
||||
hb := message.HearthBeat{
|
||||
BlockNum: block.ThisBlock.BlockNum,
|
||||
LastIrreversibleBlockNum: block.LastIrreversible.BlockNum,
|
||||
HeadBlockNum: block.Head.BlockNum,
|
||||
|
|
@ -81,7 +81,7 @@ func (processor *ShipProcessor) processTraces(traces []*ship.TransactionTraceV0)
|
|||
for _, actionTraceVar := range trace.ActionTraces {
|
||||
act_trace := actionTraceVar.Impl.(*ship.ActionTraceV0)
|
||||
|
||||
act := ActionTrace{
|
||||
act := message.ActionTrace{
|
||||
TxID: trace.ID,
|
||||
Receiver: act_trace.Receiver,
|
||||
Contract: act_trace.Act.Account,
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
package app
|
||||
package message
|
||||
|
||||
import (
|
||||
eos "github.com/eoscanada/eos-go"
|
||||
Loading…
Add table
Add a link
Reference in a new issue