Skip to content

Commit b25994b

Browse files
committed
Github Action: Update contract
1 parent b9e011f commit b25994b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.nr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ contract EasyPrivateVoting {
77
keys::getters::get_public_keys,
88
macros::{functions::{initializer, internal, private, public}, storage::storage},
99
};
10-
use dep::aztec::prelude::{AztecAddress, Map, PublicMutable, SharedImmutable};
10+
use dep::aztec::prelude::{AztecAddress, Map, PublicImmutable, PublicMutable};
1111
#[storage]
1212
struct Storage<Context> {
1313
admin: PublicMutable<AztecAddress, Context>, // admin can end vote
1414
tally: Map<Field, PublicMutable<Field, Context>, Context>, // we will store candidate as key and number of votes as value
1515
vote_ended: PublicMutable<bool, Context>, // vote_ended is boolean
16-
active_at_block: SharedImmutable<u32, Context>, // when people can start voting
16+
active_at_block: PublicImmutable<u32, Context>, // when people can start voting
1717
}
1818

1919
#[public]

0 commit comments

Comments
 (0)