Skip to content

Commit

Permalink
remove some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
michele-nuzzi committed Aug 17, 2024
1 parent f8d856c commit a198971
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/onchain/src/IR/IRNodes/IRLetted.ts
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ export class IRLetted
{
return new IRLetted(
this.dbn,
this.value.clone(), // cloned in constructor
this.value.clone(),
{ ...this.meta },
this.isHashPresent() ? this.hash : undefined
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function handleHoistedAndReturnRoot( term: IRTerm ): IRTerm
// we know `handleHoistedAndReturnRoot` modifies the term
// so we are probably ok not cloning here
// top level hoisted terms should be handled in `compileIRToUPLC` anyway
term = term.hoisted; // .clone()
term = term.hoisted;

// we still need to remove this parent otherhwise there will be an unknown hoisted to handle
term.parent = undefined;
Expand Down

0 comments on commit a198971

Please sign in to comment.