mirror of
https://github.com/AleoHQ/leo.git
synced 2024-09-21 12:07:56 +03:00
remove underscores
This commit is contained in:
parent
b00edea686
commit
ad4a6cea4f
@ -1,4 +1,4 @@
|
||||
// The 'hello_world' main function.
|
||||
// The 'hello-world' main function.
|
||||
function main(a: u32, b: u32) -> u32 {
|
||||
let c: u32 = a + b;
|
||||
return c
|
||||
|
@ -17,7 +17,7 @@ circuit PedersenHash {
|
||||
}
|
||||
}
|
||||
|
||||
// The 'pedersen_hash' main function.
|
||||
// The 'pedersen-hash' main function.
|
||||
function main() -> group {
|
||||
const parameters = [1group; 256];
|
||||
const pedersen = PedersenHash::new(parameters);
|
||||
|
@ -1,4 +1,4 @@
|
||||
// The 'square_root' main function.
|
||||
// The 'square-root' main function.
|
||||
// prove knowledge of the square root `a` of a number `b`
|
||||
function main(a: u32, b: u32) -> bool {
|
||||
return a * a == b
|
||||
|
Loading…
Reference in New Issue
Block a user