newAccountSet creates a new address set with an associated signer for sender derivations.
(signer types.Signer)
| 1292 | // newAccountSet creates a new address set with an associated signer for sender |
| 1293 | // derivations. |
| 1294 | func newAccountSet(signer types.Signer) *accountSet { |
| 1295 | return &accountSet{ |
| 1296 | accounts: make(map[common.Address]struct{}), |
| 1297 | signer: signer, |
| 1298 | } |
| 1299 | } |
| 1300 | |
| 1301 | // contains checks if a given address is contained within the set. |
| 1302 | func (as *accountSet) contains(addr common.Address) bool { |