Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
dbeal-eth committed Jan 20, 2023
1 parent 81a4e2c commit 4d34e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anvil/src/eth/backend/mem/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ impl Backend {
}

/// Deserialize and add all chain data to the backend storage
pub fn load_state(&self, buf: Bytes) -> Result<bool, BlockchainError> {
pub async fn load_state(&self, buf: Bytes) -> Result<bool, BlockchainError> {
let mut deserializer = serde_json::Deserializer::from_slice(&buf.0);
deserializer.disable_recursion_limit();
let state = SerializableState::deserialize(&mut deserializer)
Expand Down

0 comments on commit 4d34e3e

Please sign in to comment.