Skip to content

Commit 46a3074

Browse files
authored
Docs: Fix return value type in Auction example (#511)
1 parent 83dcc6d commit 46a3074

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/sophia_stdlib.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -687,8 +687,8 @@ Example usage:
687687
```
688688
payable contract interface Auction =
689689
entrypoint init : (int, string) => void
690-
stateful payable entrypoint buy : (int) => ()
691-
stateful entrypoint sell : (int) => ()
690+
stateful payable entrypoint buy : (int) => unit
691+
stateful entrypoint sell : (int) => unit
692692
693693
main contract Market =
694694
type state = list(Auction)

0 commit comments

Comments
 (0)