From 98c96de5bbbffab3ced575ba6d7c5608d2a45f27 Mon Sep 17 00:00:00 2001 From: Artem Poltorzhitskiy Date: Wed, 6 Dec 2023 22:15:59 +0100 Subject: [PATCH] Fix: contract's last action (#1004) --- cmd/api/handlers/responses.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/api/handlers/responses.go b/cmd/api/handlers/responses.go index 83c437c30..0164396e5 100644 --- a/cmd/api/handlers/responses.go +++ b/cmd/api/handlers/responses.go @@ -193,6 +193,7 @@ func (c *Contract) FromModel(contract contract.Contract) { c.Annotations = script.Annotations c.Entrypoints = script.Entrypoints c.ID = contract.ID + c.LastAction = contract.Account.LastAction } // ContractWithStats -