Skip to content

Commit 9842ce9

Browse files
committed
wip
1 parent 81b1754 commit 9842ce9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

crates/cli/src/options.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -652,8 +652,8 @@ impl CartridgeOptions {
652652
self.controllers = other.controllers;
653653
}
654654

655-
if self.api == default_api_url() {
656-
self.api = other.api.clone();
655+
if self.cartridge_api == default_api_url() {
656+
self.cartridge_api = other.cartridge_api.clone();
657657
}
658658

659659
if self.vrf == VrfOptions::default() {
@@ -731,6 +731,10 @@ impl VrfOptions {
731731
self.url = other.url.clone();
732732
}
733733

734+
if self.vrf_account_contract.is_none() {
735+
self.vrf_account_contract = other.vrf_account_contract;
736+
}
737+
734738
if self.bin.is_none() {
735739
self.bin = other.bin.clone();
736740
}

0 commit comments

Comments
 (0)