Skip to content

Commit 23eeaed

Browse files
committed
Update func name
1 parent 46a07c0 commit 23eeaed

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

library/src/main/kotlin/one/mixin/bot/HttpClient.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,14 +144,14 @@ class HttpClient private constructor(
144144
val list = mutableListOf<Any>()
145145
list.add(hash)
146146
list.add(index)
147-
return userService.mixinRPCCall(RpcRequest("getutxo", list))
147+
return userService.mixinMainnetRPCCall(RpcRequest("getutxo", list))
148148
}
149149

150150
override suspend fun getutxo(hash: String, index: Int): JsonObject {
151151
val list = mutableListOf<Any>()
152152
list.add(hash)
153153
list.add(index)
154-
return userService.mixinRPC(RpcRequest("getutxo", list))
154+
return userService.mixinMainnetRPC(RpcRequest("getutxo", list))
155155
}
156156
}
157157
}

library/src/main/kotlin/one/mixin/bot/api/call/UserCallService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ interface UserCallService {
5353
): Call<MixinResponse<List<GhostKey>>>
5454

5555
@POST("external/proxy")
56-
fun mixinRPCCall(
56+
fun mixinMainnetRPCCall(
5757
@Body rpcRequest: RpcRequest
5858
): Call<JsonObject>
5959
}

library/src/main/kotlin/one/mixin/bot/api/coroutine/UserCoroutineService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ interface UserCoroutineService {
4444
suspend fun readGhostKeys(@Body ghostKeyRequest: GhostKeyRequest): MixinResponse<List<GhostKey>>
4545

4646
@POST("external/proxy")
47-
suspend fun mixinRPC(
47+
suspend fun mixinMainnetRPC(
4848
@Body rpcRequest: RpcRequest
4949
): JsonObject
5050
}

0 commit comments

Comments
 (0)