Skip to main content

clear

Function clear 

Source
pub fn clear()
Expand description

Drop all cached state. A swap needs no call: this belongs to the account’s session and goes with it. Kept for callers that want a cold cache within one account (tests, an explicit resync).