Skip to content

Commit

Permalink
fix npm urls for tools, fix skip_preflight variable
Browse files Browse the repository at this point in the history
Closes #210

Change-Id: Ideea67b2269a59a76c65745df224b7d006cd2010
  • Loading branch information
mnguyen-io authored and Leo committed Jul 16, 2021
1 parent 3fdedbe commit db6a073
Show file tree
Hide file tree
Showing 2 changed files with 225 additions and 26 deletions.
4 changes: 2 additions & 2 deletions solana/agent/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ impl Agent for AgentImpl {
};

for mut tx in verify_txs {
match sign_and_send(&rpc, &mut tx, vec![&key], request.skip_preflight) {
match sign_and_send(&rpc, &mut tx, vec![&key], request.get_ref().skip_preflight) {
Ok(_) => (),
Err(e) => {
return Err(Status::new(
Expand All @@ -104,7 +104,7 @@ impl Agent for AgentImpl {
}

let mut transaction2 = Transaction::new_with_payer(&[ix], Some(&key.pubkey()));
match sign_and_send(&rpc, &mut transaction2, vec![&key], request.skip_preflight) {
match sign_and_send(&rpc, &mut transaction2, vec![&key], request.get_ref().skip_preflight) {
Ok(s) => Ok(Response::new(SubmitVaaResponse {
signature: s.to_string(),
})),
Expand Down
247 changes: 223 additions & 24 deletions tools/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit db6a073

Please sign in to comment.