Skip to content

Commit 6e8fba6

Browse files
Copilotbrozorec
andauthored
fix: define ruleId as function parameter in TypeScript example
Agent-Logs-Url: https://github.com/OpenZeppelin/docs/sessions/1cbe0b8d-1816-4e44-b637-714b416168f1 Co-authored-by: brozorec <9572072+brozorec@users.noreply.github.com>
1 parent a3a8151 commit 6e8fba6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

content/stellar-contracts/accounts/signers-and-verifiers.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@ async function signAndSendTx(
152152
contract: string,
153153
fnName: string,
154154
fnArgs: ScVal[],
155-
signer: Keypair
155+
signer: Keypair,
156+
ruleId: number, // ID of the context rule to use for this authorization (e.g., obtained when the rule was created)
156157
) {
157158
const baseTx = new TransactionBuilder(...)
158159
.addOperation(

0 commit comments

Comments
 (0)