Commit 37d32fe5 authored by Tomasz Drwięga's avatar Tomasz Drwięga Committed by Gavin Wood
Browse files

Add provides tag to claims transactions. (#375)

parent 05f27b66
Pipeline #49434 passed with stages
in 29 minutes and 20 seconds
......@@ -194,7 +194,7 @@ impl<T: Trait> ValidateUnsigned for Module<T> {
TransactionValidity::Valid(ValidTransaction {
priority: PRIORITY,
requires: vec![],
provides: vec![],
provides: vec![("claims", signer).encode()],
longevity: TransactionLongevity::max_value(),
propagate: true,
})
......@@ -399,7 +399,7 @@ mod tests {
TransactionValidity::Valid(ValidTransaction {
priority: 100,
requires: vec![],
provides: vec![],
provides: vec![("claims", alice_eth()).encode()],
longevity: TransactionLongevity::max_value(),
propagate: true,
})
......
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