Skip to content

Commit

Permalink
odra(payable) fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zie1ony committed Jun 11, 2024
1 parent 795f0c2 commit 9f2823a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docusaurus/docs/tutorials/odra-sol.md
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ contract Payable {
</TabItem>
</Tabs>

In Odra, you can define a function with the `#[odra::payable]` attribute to indicate that the function can receive CSPRs. In Solidity, the payable keyword is used to define functions that can receive Ether.
In Odra, you can define a function with the `#[odra(payable)]` attribute to indicate that the function can receive CSPRs. In Solidity, the payable keyword is used to define functions that can receive Ether.

### Selectors

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ contract Payable {
</TabItem>
</Tabs>

In Odra, you can define a function with the `#[odra::payable]` attribute to indicate that the function can receive CSPRs. In Solidity, the payable keyword is used to define functions that can receive Ether.
In Odra, you can define a function with the `#[odra(payable)]` attribute to indicate that the function can receive CSPRs. In Solidity, the payable keyword is used to define functions that can receive Ether.

### Selectors

Expand Down

0 comments on commit 9f2823a

Please sign in to comment.