Skip to content

Commit 39c57d7

Browse files
l2ToL1Messages return value fix (#1369)
* l2ToL1Messages return value fix * fix messed up table l1ToL2Messages * remove table from l1tol2message
1 parent 0c1bf19 commit 39c57d7

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

components/Starknet/modules/architecture-and-concepts/pages/network-architecture/messaging-reference.adoc

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ Indicates if a pending message is associated with a given message hash.
270270
==== Returns
271271

272272
Returns `uint256 _result_`, where `_result_` is one of the following:
273-
[horizontal,labelwidth="5",role=stripes-odd]
273+
[horizontal,labelwidth="30",role=stripes-odd]
274274
`message_fee + 1`:: A pending message is associated with the `_msgHash_` parameter.
275275
`0`:: No pending message is associated with the `_msgHash_` parameter.
276276

@@ -289,7 +289,7 @@ Contract: link:https://github.com/starkware-libs/cairo-lang/blob/master/src/star
289289
[discrete]
290290
==== Description
291291

292-
Indicates if a pending message is associated with a given message hash.
292+
Indicates the number of pending messages associated with a given message hash.
293293

294294
[discrete]
295295
==== State Mutability
@@ -305,10 +305,7 @@ Indicates if a pending message is associated with a given message hash.
305305
[discrete]
306306
==== Returns
307307

308-
Returns `uint256 _result_`, where `_result_` is one of the following:
309-
[horizontal,labelwidth="30",role=stripes-odd]
310-
`1`:: A pending message is associated with the `_msgHash_` parameter.
311-
`0`:: No pending message is associated with the `_msgHash_` parameter.
308+
Returns `uint256 _result_`, where `_result_` is the number of pending messages associated with the `_msgHash_` parameter.
312309

313310
[discrete]
314311
==== Function definition

0 commit comments

Comments
 (0)