Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
ink
Commits
3f83a7c4
Unverified
Commit
3f83a7c4
authored
Feb 04, 2020
by
Arsen Kondratiev
Committed by
GitHub
Feb 04, 2020
Browse files
Fix accumulator smart contract in delegator example (#316)
parent
321fe03a
Pipeline
#77186
passed with stages
in 6 minutes and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
examples/delegator/accumulator/lib.rs
View file @
3f83a7c4
...
...
@@ -14,13 +14,13 @@
#![cfg_attr(not(feature
=
"std"
),
no_std)]
#[cfg(not(feature
=
"ink-as-dependency"
))]
use
ink_core
::
storage
;
use
ink_lang
as
ink
;
#[ink::contract(version
=
"0.1.0"
)]
mod
accumulator
{
#[cfg(not(feature
=
"ink-as-dependency"
))]
use
ink_core
::
storage
;
/// Holds a simple i32 value that can be incremented and decremented.
#[ink(storage)]
struct
Accumulator
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment