Commit c53abd76 authored by Robin Freyler's avatar Robin Freyler

[examples] delegator: minor improvements

parent a55e9aa9
Pipeline #56312 failed with stages
in 1 minute and 57 seconds
......@@ -90,10 +90,11 @@ mod delegator {
.using_code(subber_code_hash)
.create_using(self.env())
.expect("failed at instantiating the `Subber` contract");
self.accumulator.set(accumulator.clone());
self.adder.set(adder.clone());
self.subber.set(subber.clone());
self.accumulator.set(accumulator);
self.adder.set(adder);
self.subber.set(subber);
}
/// Returns the accumulator's value.
#[ink(message)]
fn get(&self) -> i32 {
......
Markdown is supported
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