Skip to content

Commit

Permalink
fix: importing in mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed Apr 6, 2022
1 parent c4b014f commit 01d493b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tx/builder/helpers.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import BigNumber from 'bignumber.js'
import bs58 from 'bs58'
import { encode as bs58Encode, decode as bs58Decode } from 'bs58'
import { hash, salt, sha256hash } from '../../utils/crypto'
import { toBytes } from '../../utils/bytes'
import {
Expand Down Expand Up @@ -143,8 +143,8 @@ const base64 = {
}

const base58 = {
encode: buffer => bs58.encode(addChecksum(buffer)),
decode: string => getPayload(bs58.decode(string))
encode: buffer => bs58Encode(addChecksum(buffer)),
decode: string => getPayload(bs58Decode(string))
}

/**
Expand Down

0 comments on commit 01d493b

Please sign in to comment.