Skip to content

Commit

Permalink
pass token length 0
Browse files Browse the repository at this point in the history
  • Loading branch information
sneurlax committed Oct 10, 2023
1 parent ff1cdc8 commit 58e48f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/src/models/transaction.dart
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ class Transaction {
).program.script.compiled;
// final wspk = token.wrapSpk(tokenData, spk);

// final wspkLen = varIntBytes(wspk.length);
final wspkLen = varIntBytes(BigInt.zero);

// Create a Uint8List to store the combined data
final combinedData =
Expand All @@ -302,9 +302,9 @@ class Transaction {
buf.buffer.asUint8List().forEach((byte) {
combinedData[offset++] = byte;
});
// wspkLen.forEach((byte) {
// combinedData[offset++] = byte;
// });
wspkLen.forEach((byte) {
combinedData[offset++] = byte;
});
// wspk.forEach((byte) {
// combinedData[offset++] = byte;
// });
Expand Down

0 comments on commit 58e48f1

Please sign in to comment.