Skip to content

Commit

Permalink
fix code serialization issue
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmanzanera committed Dec 20, 2024
1 parent 4a26cef commit 15151c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/transaction_builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ export default class TransactionBuilder {
intToUint32Array(VERSION),
this.address,
Uint8Array.from([getTransactionTypeId(this.type)]),
intToUint32Array(0), // Default code size
bufContract,
bufContentSize,
new TextEncoder().encode(this.data.content),
Expand Down

0 comments on commit 15151c9

Please sign in to comment.