Skip to content

Commit fcfbd7e

Browse files
committed
revert AssembledTransaction.simulate check for sim restore response to assemble
1 parent 5c968eb commit fcfbd7e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/contract/assembled_transaction.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -668,10 +668,7 @@ export class AssembledTransaction<T> {
668668
);
669669
}
670670

671-
if (
672-
Api.isSimulationSuccess(this.simulation) &&
673-
!Api.isSimulationRestore(this.simulation)
674-
) {
671+
if (Api.isSimulationSuccess(this.simulation)) {
675672
this.built = assembleTransaction(this.built, this.simulation).build();
676673
}
677674

0 commit comments

Comments
 (0)