Claim yer sale DOTs (#97)

* Add claims.

* Failing build

* Updatee to latest substrate, fix tests

* Remove unneeded

* Introduce tests with real work sig

* Use right 64 bytes of pubkey to get eth addr

* Fix for eth sig

* Fix build

* Fix wasm
This commit is contained in:
Gav Wood
2019-01-25 08:43:05 +00:00
committed by GitHub
parent a05d422a55
commit c5bb21ab3c
13 changed files with 793 additions and 230 deletions
+1 -1
View File
@@ -289,7 +289,7 @@ impl<P, E> Worker for CollationNode<P, E> where
let work = future::lazy(move || {
let api = client.runtime_api();
let last_head = match try_fr!(api.parachain_head(&id, &para_id)) {
let last_head = match try_fr!(api.parachain_head(&id, para_id)) {
Some(last_head) => last_head,
None => return future::Either::A(future::ok(())),
};