Skip to content

Commit

Permalink
Update second usage of get_chain_name_from_rpc().
Browse files Browse the repository at this point in the history
  • Loading branch information
koxu1996 committed Jul 30, 2024
1 parent dd881f6 commit 7761a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kairos-server/src/state/submit_batch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub async fn submit_proof_to_contract(
},
};

let chain_name = get_chain_name_from_rpc(casper_rpc.as_str())
let chain_name = get_chain_name_from_rpc(&casper_rpc)
.await
.expect("RPC request failed");
let deploy = DeployBuilder::new(chain_name, submit_batch, signer)
Expand Down

0 comments on commit 7761a6f

Please sign in to comment.