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 a40cbb7 commit 86b913f
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 @@ -245,7 +245,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 @@ -289,7 +289,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 @@ -267,7 +267,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 86b913f

Please sign in to comment.