From 748689cf41652d71071d82d902eae3da6444bfe2 Mon Sep 17 00:00:00 2001 From: kevin-zhangzh <913455507@qq.com> Date: Thu, 15 Sep 2022 17:42:19 +0800 Subject: [PATCH] update(): parentId onchain --- common/types.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/types.go b/common/types.go index ce1fcca..483b34f 100644 --- a/common/types.go +++ b/common/types.go @@ -112,7 +112,8 @@ func (txs Transactions) MarshalFromOnChain() ([]byte, error) { lightTxs := make(Transactions, 0, len(txs)) for _, tx := range txs { lightTxs = append(lightTxs, &Transaction{ - TxData: tx.TxData, + TxData: tx.TxData, + ParentId: tx.ParentId, }) } return lightTxs.Marshal()