Closed alex-3881 closed 2 years ago
changes from
let recent_blockhash = rpc_client.get_latest_blockhash().unwrap();
to
let recent_blockhash = rpc_client.get_recent_blockhash().unwrap().0;
on lines 88, 140, 183 seemed to fix it, everything compiled and seems to work
This should fix it https://github.com/Bonfida/token-vesting/commit/cea0793ca0a5e37cc3dd81d446b5630fdbf1ac1d
Thanks for opening the issue!
when compiling CLI (
cargo build
in cli folder), build fails with the screenshoted error