Skip to content

Commit

Permalink
revert: bad reference
Browse files Browse the repository at this point in the history
  • Loading branch information
dkackman committed Aug 30, 2023
1 parent d0287f3 commit 8f3a67b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/chia-daemon/rpc_proxy.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import ChiaHttps from "./chia_https.js";
import { makePayload, getPayloadDescriptor } from "./payload_generator.js";
import { makePayload, getPayloadDescriptor } from "chia-payload-helper";

// This might be evil and generally abusive of the javascript type system but...
// This here will allow us to call an arbitrary method-like thing on any object
// and transform it into an rpc invocation though we don't know the endpoint name until runtime.
Expand All @@ -11,7 +11,7 @@ import { makePayload, getPayloadDescriptor } from "./payload_generator.js";
//
/**
* Returns a proxy object that transforms any method into an RPC invocation.
* @param {ChiaDaemon|ChiaHttps} chia - The chia daemon service that will execute the RPC.
* @param {ChiaDaemon} chia - The chia daemon service that will execute the RPC.
* @param {string} service - The name of the chia endpoint service.
* @returns {Proxy} The proxy that will route methods calls.
*/
Expand Down

0 comments on commit 8f3a67b

Please sign in to comment.