Skip to content

Commit 20a836b

Browse files
committed
chore(sdk): s/core_network()/network()/
1 parent c22fa07 commit 20a836b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/rs-sdk/src/platform/fetch_unproved.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ where
8989
Self::maybe_from_unproved_with_metadata(
9090
request.clone(),
9191
response,
92-
sdk.core_network(),
92+
sdk.network(),
9393
sdk.version(),
9494
)
9595
.map_err(|e| ExecutionError {

packages/rs-sdk/src/sdk.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ impl Sdk {
276276
}
277277

278278
/// Get configured Dash Core network type.
279-
pub fn core_network(&self) -> Network {
279+
pub fn network(&self) -> Network {
280280
self.network
281281
}
282282

@@ -304,7 +304,7 @@ impl Sdk {
304304
SdkInstance::Dapi { .. } => O::maybe_from_proof_with_metadata(
305305
request,
306306
response,
307-
self.core_network(),
307+
self.network(),
308308
self.version(),
309309
&provider,
310310
),

0 commit comments

Comments
 (0)