Skip to content

Commit 0687ba2

Browse files
committed
Resolve child account retrieval on mainnet
1 parent cbecc44 commit 0687ba2

File tree

1 file changed

+0
-10
lines changed
  • flow/src/commonMain/kotlin/org/onflow/flow/infrastructure/scripts

1 file changed

+0
-10
lines changed

flow/src/commonMain/kotlin/org/onflow/flow/infrastructure/scripts/CadenceLoader.kt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ package org.onflow.flow.infrastructure.scripts
22

33
import org.onflow.flow.ChainId
44

5-
/* ────────────────────────────────────────────────────────────
6-
* PUBLIC API TYPES
7-
* ─────────────────────────────────────────────────────────── */
8-
95
/**
106
* Implement this interface to refer to a Cadence file by (directory, filename)
117
* instead of two plain strings.
@@ -30,10 +26,6 @@ expect class CadenceLoader(chainId: ChainId) {
3026
/** Platform-specific resource reader used by the platform `CadenceLoader`. */
3127
internal expect fun loadResource(path: String): String
3228

33-
/* ────────────────────────────────────────────────────────────
34-
* INSTANCE-SCOPED SCRIPT LOADER
35-
* ─────────────────────────────────────────────────────────── */
36-
3729
/**
3830
* Loads Cadence scripts for a **single** Flow network.
3931
*
@@ -58,8 +50,6 @@ class CadenceScriptLoader(chainId: ChainId) {
5850
fun load(path: CadenceLoaderProtocol): String =
5951
load(path.filename, path.directory)
6052

61-
/* ───────────────────────────────────────────────────────── */
62-
6353
private fun buildResourcePath(name: String, directory: String): String =
6454
buildString {
6555
append("scripts/")

0 commit comments

Comments
 (0)