Skip to content

Commit

Permalink
fix empty scVal construction
Browse files Browse the repository at this point in the history
  • Loading branch information
BlaineHeffron committed Jun 14, 2024
1 parent c96e8c6 commit 1c761ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contract/assembled_transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ export class AssembledTransaction<T> {
}

// add to object for serialization & deserialization
this.simulationResult = simulation.result ?? { auth: [], retval: new xdr.ScVal() };
this.simulationResult = simulation.result ?? { auth: [], retval: xdr.ScVal.scvVoid() };
this.simulationTransactionData = simulation.transactionData.build();

return {
Expand Down

0 comments on commit 1c761ef

Please sign in to comment.