Custom extra (#89)

* Run rustfmt.

* Make extra customizable.

* Update to alpha 6.
This commit is contained in:
David Craven
2020-04-15 09:21:19 +02:00
committed by GitHub
parent bb465782dc
commit 8cf652605f
5 changed files with 101 additions and 86 deletions
+2 -3
View File
@@ -51,9 +51,8 @@ fn main() {
match result {
Ok(extrinsic_success) => {
match extrinsic_success
.find_event::<(AccountId, AccountId, Balance)>(
"Balances", "Transfer",
) {
.find_event::<(AccountId, AccountId, Balance)>("Balances", "Transfer")
{
Some(Ok((_from, _to, value))) => {
println!("Balance transfer success: value: {:?}", value)
}