Unverified Commit 164d5f14 authored by Michael Müller's avatar Michael Müller Committed by GitHub
Browse files

Remove pub prefix for pub trait (#544)

parent 24235f09
Pipeline #112056 failed with stages
in 5 minutes and 54 seconds
......@@ -431,17 +431,17 @@ mod erc20 {
impl BaseErc20 for Erc20 {
#[ink(constructor)]
pub fn new(initial_supply: Balance) -> Self {
fn new(initial_supply: Balance) -> Self {
// implementation ...
}
#[ink(message)]
pub fn total_supply(&self) -> Balance {
fn total_supply(&self) -> Balance {
// implementation ...
}
#[ink(message, payable)]
pub fn transfer(&mut self, to: AccountId, amount: Balance) {
fn transfer(&mut self, to: AccountId, amount: Balance) {
// implementation ...
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment