Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
dimartiro committed Feb 3, 2025
1 parent 88cebad commit 16ae887
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ impl MessageProcessor for TokenTransferMessageProcessor {
}

// Check it is from the right gateway
if envelope.gateway != <EthereumGatewayAddress as sp_core::TypedGet>::get() {
if envelope.gateway != EthereumGatewayAddress::get() {
return false;
}

Expand Down Expand Up @@ -288,7 +288,7 @@ impl MessageProcessor for TokenTransferMessageProcessor {
}

// - Transfer the amounts of tokens from Ethereum sov account to the destination
let sovereign_account = <EthereumSovereignAccount as sp_core::TypedGet>::get();
let sovereign_account = EthereumSovereignAccount::get();

<Balances as fungible::Mutate<_>>::transfer(
&sovereign_account,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@ fn receive_native_tokens_from_eth_processed_successful() {

let message = Message {
event_log: Log {
// gateway address
address:
<Runtime as snowbridge_pallet_inbound_queue::Config>::GatewayAddress::get(),
topics: event
Expand Down

0 comments on commit 16ae887

Please sign in to comment.