mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 00:31:07 +00:00
Custom extra (#89)
* Run rustfmt. * Make extra customizable. * Update to alpha 6.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user