Skip to content

Commit

Permalink
Fix json rpc spec gen test (MystenLabs#2590)
Browse files Browse the repository at this point in the history
  • Loading branch information
lxfind authored Jun 16, 2022
1 parent 8155b9f commit 655252e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/generate-json-rpc-spec/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ async fn create_hero_response(
let coin = SuiJsonValue::new(json!(coins.first().unwrap().object_id.to_hex_literal()))?;
let result = WalletCommands::Call {
package: package_id,
module: "Hero".to_string(),
module: "hero".to_string(),
function: "acquire_hero".to_string(),
type_args: vec![],
args: vec![game_info, coin],
Expand Down Expand Up @@ -289,7 +289,7 @@ async fn create_error_response(
.move_call(
address,
hero_package,
"Hero".to_string(),
"hero".to_string(),
"new_game".to_string(),
vec![],
vec![],
Expand Down

0 comments on commit 655252e

Please sign in to comment.