Rust 2018 cleanup

This commit is contained in:
Michael Vines
2018-12-14 20:39:10 -08:00
committed by Grimes
parent aaa5cd4615
commit fd562cb9e2
59 changed files with 109 additions and 209 deletions

View File

@@ -2,14 +2,11 @@
//! Receive mining proofs from miners, validate the answers
//! and give reward for good proofs.
#[macro_use]
extern crate log;
#[macro_use]
extern crate solana_sdk;
use log::*;
use solana_sdk::account::KeyedAccount;
use solana_sdk::native_program::ProgramError;
use solana_sdk::pubkey::Pubkey;
use solana_sdk::solana_entrypoint;
use solana_sdk::storage_program::*;
solana_entrypoint!(entrypoint);