diff --git a/model_bump.go b/model_bump.go index 6919608b..1da8f14f 100644 --- a/model_bump.go +++ b/model_bump.go @@ -24,9 +24,6 @@ type BUMP struct { allNodes []map[uint64]bool } -// BUMPPath represents slices with paths -// type BUMPPath [][]BUMPNode - // BUMPLeaf represents each BUMP path element type BUMPNode struct { Offset uint64 `json:"offset,string"` diff --git a/model_draft_transactions.go b/model_draft_transactions.go index a3d5b02f..39c973ae 100644 --- a/model_draft_transactions.go +++ b/model_draft_transactions.go @@ -411,13 +411,6 @@ func (m *DraftTransaction) createTransactionHex(ctx context.Context) (err error) return ErrTransactionFeeInvalid } - for _, v := range merkleProofs { - cmp, err := CalculateCompoundMerklePath(v) - if err != nil { - return err - } - m.CompoundMerklePathes = append(m.CompoundMerklePathes, cmp) - } for _, v := range merkleProofs { bump, err := CalculateMergedBUMP(v) if err != nil {