Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
Co-authored-by: Matheus Aguiar <[email protected]>
  • Loading branch information
r0qs and matheusaaguiar committed Nov 26, 2022
1 parent d15c240 commit 954e6f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function replacePlaceholder (bytecode: string, label: string, address: string, l
// truncate to 36 characters
const truncatedName = label.slice(0, 36);

if (linkReferences && linkReferences[truncatedName]) {
if (linkReferences[truncatedName]) {
linkReferences[truncatedName].forEach(function (reference) {
const start = reference.start * 2;
const end = (reference.start + reference.length) * 2;
Expand Down

0 comments on commit 954e6f9

Please sign in to comment.