Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
substrate-tip-bot
Commits
f28ef9bc
Verified
Commit
f28ef9bc
authored
May 16, 2022
by
JP
Browse files
fix fn style
parent
851a942c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bot.ts
View file @
f28ef9bc
...
@@ -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
"
})
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment