Skip to content

Commit

Permalink
update(): parentId onchain
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-zhangzh committed Sep 15, 2022
1 parent c7ccfe3 commit 748689c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 748689c

Please sign in to comment.