add comments for WonRenewal event (#533)

* add comments for WonRenewal event

* make event argument order consistent
This commit is contained in:
Xiliang Chen
2019-11-06 00:09:04 +13:00
committed by Gavin Wood
parent bcdf6c02fc
commit 88150e83d2
+2 -1
View File
@@ -212,6 +212,7 @@ decl_event!(
/// Someone won the right to deploy a parachain. Balance amount is deducted for deposit.
WonDeploy(NewBidder<AccountId>, SlotRange, ParaId, Balance),
/// An existing parachain won the right to continue.
/// First balance is the extra amount reseved. Second is the total amount reserved.
WonRenewal(ParaId, SlotRange, Balance, Balance),
/// Funds were reserved for a winning bid. First balance is the extra amount reserved.
/// Second is the total.
@@ -552,7 +553,7 @@ impl<T: Trait> Module<T> {
} else {
Default::default()
};
Self::deposit_event(RawEvent::WonRenewal(para_id, range, amount, extra));
Self::deposit_event(RawEvent::WonRenewal(para_id, range, extra, amount));
}
}