From 8162cc088fb8ff64f6dc86f1325fe97871c0bfb0 Mon Sep 17 00:00:00 2001 From: Grigoriy Simonov Date: Tue, 10 Jan 2023 06:29:15 +0000 Subject: [PATCH] chore: fix code review requests --- --- a/pallets/fungible/src/lib.rs +++ b/pallets/fungible/src/lib.rs @@ -634,7 +634,7 @@ } ensure!( - *sender.as_eth() == *from.as_eth(), + sender.conv_eq(from), >::AddressIsNotEthMirror ); --- a/pallets/nonfungible/src/lib.rs +++ b/pallets/nonfungible/src/lib.rs @@ -1196,7 +1196,7 @@ } ensure!( - *sender.as_eth() == *from.as_eth(), + sender.conv_eq(from), >::AddressIsNotEthMirror ); --- a/pallets/refungible/src/lib.rs +++ b/pallets/refungible/src/lib.rs @@ -1124,7 +1124,7 @@ >::ensure_correct_receiver(to)?; ensure!( - *sender.as_eth() == *from.as_eth(), + sender.conv_eq(from), >::AddressIsNotEthMirror ); -- gitstuff