Skip to content

Commit abcf44e

Browse files
committed
🔀 chore(lib.rs): refactor BDKServicesURL initialization to use self.bdk_services_url.clone() for improved code readability and maintainability
1 parent cb14366 commit abcf44e

File tree

1 file changed

+1
-1
lines changed
  • pallets/bitcoin-vaults/src

1 file changed

+1
-1
lines changed

‎pallets/bitcoin-vaults/src/lib.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ pub mod pallet {
5757
impl<T: Config> BuildGenesisConfig for GenesisConfig<T> {
5858
fn build(&self) {
5959
<BDKServicesURL<T>>::put(
60-
BoundedVec::<u8, ConstU32<32>>::try_from(b"https://bdk.hashed.systems".encode())
60+
BoundedVec::<u8, ConstU32<32>>::try_from(self.bdk_services_url.clone())
6161
.unwrap_or_default(),
6262
);
6363
}

0 commit comments

Comments
 (0)