Verified Commit f28ef9bc authored by JP's avatar JP
Browse files

fix fn style

parent 851a942c
...@@ -9,7 +9,7 @@ import { State } from "./types" ...@@ -9,7 +9,7 @@ import { State } from "./types"
/* TODO add some kind of timeout then return an error /* TODO add some kind of timeout then return an error
TODO Unit tests */ TODO Unit tests */
export async function tipUser( const tipUser = async (
{ seedOfTipperAccount, bot }: State, { seedOfTipperAccount, bot }: State,
{ {
contributor, contributor,
...@@ -28,7 +28,7 @@ export async function tipUser( ...@@ -28,7 +28,7 @@ export async function tipUser(
pullRequestRepo: string pullRequestRepo: string
tipSize: string tipSize: string
}, },
) { ) => {
await cryptoWaitReady() await cryptoWaitReady()
const keyring = new Keyring({ type: "sr25519" }) const keyring = new Keyring({ type: "sr25519" })
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment