diff --git a/pages/wallet.js b/pages/wallet.js index 8609600d..a2acf593 100644 --- a/pages/wallet.js +++ b/pages/wallet.js @@ -270,7 +270,7 @@ export function LnAddrWithdrawal () { schema={LnAddrSchema} initialError={error ? error.toString() : undefined} onSubmit={async ({ addr, amount, maxFee }) => { - const { data } = await sendToLnAddr({ variables: { addr, amount: Number(amount), maxFee } }) + const { data } = await sendToLnAddr({ variables: { addr, amount: Number(amount), maxFee: Number(maxFee) } }) router.push(`/withdrawals/${data.sendToLnAddr.id}`) }} >