Skip to content

Commit c184e03

Browse files
CopilotChALkeR
andcommitted
Add missing await in toWifString
Co-authored-by: ChALkeR <291301+ChALkeR@users.noreply.github.com>
1 parent 8123a96 commit c184e03

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wif.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ export const fromWifStringSync = (string, version) => from(fromBase58checkSync(s
4242
export const fromWifString = async (string, version) => from(await fromBase58check(string), version)
4343

4444
export const toWifStringSync = (wif) => toBase58checkSync(to(wif))
45-
export const toWifString = async (wif) => toBase58check(to(wif))
45+
export const toWifString = async (wif) => await toBase58check(to(wif))

0 commit comments

Comments
 (0)