1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-16 04:24:56 +02:00

app/ship_processor.go: Ooops, fix a bug where we cast an ActionTrace to ActionReceiptV0 instead of the actual receipt :)

This commit is contained in:
Henrik Hautakoski 2023-06-05 17:43:41 +02:00
parent fd5ecf4268
commit c82136aff0

View file

@ -172,7 +172,7 @@ func (processor *ShipProcessor) processBlock(block *ship.GetBlocksResultV0) {
}
if act_trace.Receipt != nil {
receipt := actionTraceVar.Impl.(*ship.ActionReceiptV0)
receipt := act_trace.Receipt.Impl.(*ship.ActionReceiptV0)
act.Receipt = &message.ActionReceipt{
Receiver: receipt.Receiver.String(),
ActDigest: receipt.ActDigest.String(),