Skip to content

Commit ff1f681

Browse files
committed
extend ttl should use readOnly
1 parent af60f2c commit ff1f681

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/build/guides/transactions/simulateTransaction-Deep-Dive.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ export async function simulateRestorationIfNeeded(
269269
txParams.txBuilderOptions,
270270
)
271271
.setSorobanData(
272-
new SorobanDataBuilder().setReadWrite([ledgerKey]).build(),
272+
new SorobanDataBuilder().setReadOnly([ledgerKey]).build(),
273273
)
274274
.addOperation(
275275
Operation.extendFootprintTtl({

0 commit comments

Comments
 (0)