Skip to content

Commit 3aaa7d5

Browse files
committed
main: Rename cli argument for 3box endpoint
1 parent d9787e2 commit 3aaa7d5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

node/src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,9 @@ async fn main() {
245245
.help("HTTP endpoint of an Arweave gateway"),
246246
)
247247
.arg(
248-
Arg::with_name("3box-profile-http")
248+
Arg::with_name("3box-api")
249249
.default_value("https://ipfs.3box.io/")
250-
.long("3box-profile-http")
250+
.long("3box-api")
251251
.value_name("URL")
252252
.help("HTTP endpoint for 3box profiles"),
253253
)
@@ -342,7 +342,7 @@ async fn main() {
342342
));
343343

344344
let three_box_adapter = Arc::new(ThreeBoxAdapter::new(
345-
matches.value_of("3box-profile-http").unwrap().to_string(),
345+
matches.value_of("3box-api").unwrap().to_string(),
346346
));
347347

348348
info!(logger, "Starting up");

runtime/wasm/src/module/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const DATA_SOURCE_NETWORK: usize = 40;
7373
const DATA_SOURCE_CREATE_WITH_CONTEXT: usize = 41;
7474
const DATA_SOURCE_CONTEXT: usize = 42;
7575
const JSON_TRY_FROM_BYTES_FUNC_INDEX: usize = 43;
76-
const ARWEAVE_TRANSACTION_DATA: usize = 43;
76+
const ARWEAVE_TRANSACTION_DATA: usize = 44;
7777
const BOX_PROFILE: usize = 45;
7878

7979
/// Transform function index into the function name string

0 commit comments

Comments
 (0)