Skip to content

Commit

Permalink
Fix bad type reference in wasm proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaseizinger committed Aug 6, 2021
1 parent 8634e0c commit 4bca80d
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions extension/src/wasmProxy.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
import Debug from "debug";
import { Address, BalanceUpdate, CreateSwapPayload, LoanDetails, Status, Trade, Txid, WalletStatus } from "./models";
import {
Address,
BalanceUpdate,
CreateSwapPayload,
LoanDetails,
LoanRequestPayload,
Status,
Trade,
Txid,
WalletStatus,
} from "./models";

Debug.enable("*");
const debug = Debug("wasmProxy");
Expand Down Expand Up @@ -59,7 +69,7 @@ export async function makeLoanRequestPayload(
name: string,
collateral: string,
fee_rate: string,
): Promise<CreateSwapPayload> {
): Promise<LoanRequestPayload> {
const { make_loan_request } = await import("./wallet");

debug("makeLoanRequestPayload");
Expand Down

0 comments on commit 4bca80d

Please sign in to comment.