Skip to content

Commit

Permalink
feat: daemon refactor (#302)
Browse files Browse the repository at this point in the history
* first commit

* first commit
  • Loading branch information
jorgeantonio21 authored Dec 23, 2024
1 parent 218cd3f commit 88c7394
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions atoma-sui/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ impl AtomaSuiClient {
) -> Result<String> {
let client = self.wallet_ctx.get_client().await?;
let active_address = self.wallet_ctx.active_address()?;
let usdc_wallet_address = self.get_or_load_usdc_wallet_object_id().await?;

let tx = client
.transaction_builder()
.move_call(
Expand All @@ -175,10 +175,7 @@ impl AtomaSuiClient {
MODULE_ID,
NODE_REGISTRATION_METHOD,
vec![],
vec![
SuiJsonValue::from_object_id(self.config.atoma_db()),
SuiJsonValue::from_object_id(usdc_wallet_address),
],
vec![SuiJsonValue::from_object_id(self.config.atoma_db())],
gas,
gas_budget.unwrap_or(GAS_BUDGET),
gas_price,
Expand Down

0 comments on commit 88c7394

Please sign in to comment.