Change for cuda verify integration

This commit is contained in:
Stephen Akridge
2018-03-26 21:07:11 -07:00
parent bc6d6b20fa
commit f4466c8c0a
13 changed files with 400 additions and 109 deletions

View File

@@ -1,3 +1,4 @@
extern crate env_logger;
extern crate serde_json;
extern crate solana;
@@ -11,6 +12,7 @@ use std::sync::atomic::AtomicBool;
use std::sync::{Arc, Mutex};
fn main() {
env_logger::init().unwrap();
let addr = "127.0.0.1:8000";
let stdin = io::stdin();
let mut entries = stdin
@@ -27,7 +29,7 @@ fn main() {
// transfer to oneself.
let entry1: Entry = entries.next().unwrap();
let deposit = if let Event::Transaction(ref tr) = entry1.events[0] {
tr.plan.final_payment()
tr.data.plan.final_payment()
} else {
None
};