Upgrade to Rust 2021

This commit is contained in:
Michael Vines
2021-11-30 16:47:00 -08:00
parent 098dba607a
commit dd12d90eac
129 changed files with 128 additions and 130 deletions

View File

@@ -89,7 +89,6 @@ impl VersionedMessage {
/// Compute the blake3 hash of a raw transaction message
pub fn hash_raw_message(message_bytes: &[u8]) -> Hash {
use blake3::traits::digest::Digest;
use std::convert::TryFrom;
let mut hasher = blake3::Hasher::new();
hasher.update(b"solana-tx-message-v1");
hasher.update(message_bytes);