git.delta.rocks / unique-network / refs/commits / 8162cc088fb8

difftreelog

chore fix code review requests

Grigoriy Simonov2023-01-10parent: #2c03632.patch.diff
in: master

3 files changed

modifiedpallets/fungible/src/lib.rsdiffbeforeafterboth
634 }634 }
635635
636 ensure!(636 ensure!(
637 *sender.as_eth() == *from.as_eth(),637 sender.conv_eq(from),
638 <CommonError<T>>::AddressIsNotEthMirror638 <CommonError<T>>::AddressIsNotEthMirror
639 );639 );
640640
modifiedpallets/nonfungible/src/lib.rsdiffbeforeafterboth
1196 }1196 }
11971197
1198 ensure!(1198 ensure!(
1199 *sender.as_eth() == *from.as_eth(),1199 sender.conv_eq(from),
1200 <CommonError<T>>::AddressIsNotEthMirror1200 <CommonError<T>>::AddressIsNotEthMirror
1201 );1201 );
12021202
modifiedpallets/refungible/src/lib.rsdiffbeforeafterboth
1124 <PalletCommon<T>>::ensure_correct_receiver(to)?;1124 <PalletCommon<T>>::ensure_correct_receiver(to)?;
11251125
1126 ensure!(1126 ensure!(
1127 *sender.as_eth() == *from.as_eth(),1127 sender.conv_eq(from),
1128 <CommonError<T>>::AddressIsNotEthMirror1128 <CommonError<T>>::AddressIsNotEthMirror
1129 );1129 );
11301130