|
case (acc, (OnAddress, addresses)) => acc + (OnAddress -> addresses.filter(x => laster.codes.contains(x) || laster.trieStorages.contains(x) || laster.codes.contains(x))) |
there are two laster.codes.contains(x)
here, one of them should be laster.trieAccounts.logs.contains(x)