Commit e4b51a5
authored
ethereum: fix issue causing to skip signature in EthereumCallFilter (#6280)
The and_modify().or_insert() pattern lost the first signature for each
address because and_modify() only runs for existing entries. This caused
call handlers to miss triggers for the first registered function selector.1 parent 7f0e2ae commit e4b51a5
1 file changed
+27
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
770 | 770 | | |
771 | 771 | | |
772 | 772 | | |
773 | | - | |
| 773 | + | |
774 | 774 | | |
775 | | - | |
776 | | - | |
777 | | - | |
778 | | - | |
779 | | - | |
780 | | - | |
781 | 775 | | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
782 | 780 | | |
783 | 781 | | |
784 | 782 | | |
| |||
1831 | 1829 | | |
1832 | 1830 | | |
1833 | 1831 | | |
| 1832 | + | |
| 1833 | + | |
| 1834 | + | |
| 1835 | + | |
| 1836 | + | |
| 1837 | + | |
| 1838 | + | |
| 1839 | + | |
| 1840 | + | |
| 1841 | + | |
| 1842 | + | |
| 1843 | + | |
| 1844 | + | |
| 1845 | + | |
| 1846 | + | |
| 1847 | + | |
| 1848 | + | |
| 1849 | + | |
| 1850 | + | |
| 1851 | + | |
| 1852 | + | |
| 1853 | + | |
1834 | 1854 | | |
1835 | 1855 | | |
1836 | 1856 | | |
| |||
0 commit comments