From 45349e535b617262b99af75f5fc053e2b7656731 Mon Sep 17 00:00:00 2001 From: Senji888 <44082144+Ben-Rey@users.noreply.github.com> Date: Tue, 9 Jan 2024 10:13:07 +0100 Subject: [PATCH] Fix getOriginOperationId description --- assembly/std/contract/calls.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assembly/std/contract/calls.ts b/assembly/std/contract/calls.ts index 78a6aba8..fff44014 100644 --- a/assembly/std/contract/calls.ts +++ b/assembly/std/contract/calls.ts @@ -197,9 +197,9 @@ export function sendMessage( } /** - * Checks if the given function exists in a smart contract at the given address. + * Returns the operation id that originated the current execution if there is one * - * @returns true if the function exists, false otherwise. + * @returns The operation id or null * */ export function getOriginOperationId(): string | null {