Closed AdamJLemmon closed 7 years ago
Current implementation writes the connector address to storage for every query.
This change only does so if the address has changed and therefore saves a storage write on each query.
LGTM!
OAR.getAddress() is not assigned to variable for greater gas saving, as updates to the connector itself should be quite rare.
OAR.getAddress()
Current implementation writes the connector address to storage for every query.
This change only does so if the address has changed and therefore saves a storage write on each query.