Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
keefertaylor committed Jul 13, 2020
1 parent 8886ba8 commit 1dd2c48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chain/tezos/TezosNodeWriter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export namespace TezosNodeWriter {
const signaturePrefixHex = Buffer.from(signaturePrefix).toString('hex')
const opSignatureHex = opSignature.toString('hex')
const prefixedSignatureHex = signaturePrefixHex + opSignatureHex
const signature = base58check.encode(prefixedSignatureHex)
const signature = base58check.encode(Buffer.from(prefixedSignatureHex, 'hex'))

const opPair = { bytes: signedOpGroup, signature: signature };

Expand Down

0 comments on commit 1dd2c48

Please sign in to comment.