Update to latest substrate (#504)

* Update cargo files

* First round of build fixes

* update lock file
This commit is contained in:
Kian Paimani
2019-10-28 14:28:13 +01:00
committed by Gavin Wood
parent ca8aa4c4cd
commit 8fb635b5e5
21 changed files with 1038 additions and 984 deletions
+4 -4
View File
@@ -207,7 +207,7 @@ decl_module! {
let imb = T::Currency::withdraw(
&owner,
deposit,
WithdrawReason::Transfer,
WithdrawReason::Transfer.into(),
ExistenceRequirement::AllowDeath,
)?;
@@ -378,7 +378,7 @@ decl_module! {
let _ = T::Currency::resolve_into_existing(&who, T::Currency::withdraw(
&Self::fund_account_id(index),
balance,
WithdrawReason::Transfer,
WithdrawReason::Transfer.into(),
ExistenceRequirement::AllowDeath
)?);
@@ -407,14 +407,14 @@ decl_module! {
let _ = T::Currency::resolve_into_existing(&fund.owner, T::Currency::withdraw(
&account,
fund.deposit,
WithdrawReason::Transfer,
WithdrawReason::Transfer.into(),
ExistenceRequirement::AllowDeath
)?);
T::OrphanedFunds::on_unbalanced(T::Currency::withdraw(
&account,
fund.raised,
WithdrawReason::Transfer,
WithdrawReason::Transfer.into(),
ExistenceRequirement::AllowDeath
)?);