Skip to content

Commit

Permalink
Fix: enable other peers to create proposal (#968)
Browse files Browse the repository at this point in the history
  • Loading branch information
alenmestrov authored Nov 14, 2024
1 parent 6816c45 commit 4cd7556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/blockchain/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ impl AppState {
}
}

pub fn create_new_proposal(&self, receiver: String) -> Result<env::ext::ProposalId, Error> {
pub fn create_new_proposal(receiver: String) -> Result<env::ext::ProposalId, Error> {
env::log("env Call in wasm create new proposal");

println!("Call in wasm create new proposal {:?}", receiver);
Expand Down

0 comments on commit 4cd7556

Please sign in to comment.