Skip to content

Commit

Permalink
Relaxed joinSignature API to allow SignauteLike.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Jan 10, 2020
1 parent 2e8f5ca commit 602e6a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bytes/src.ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ export function splitSignature(signature: SignatureLike): Signature {
return result;
}

export function joinSignature(signature: Signature): string {
export function joinSignature(signature: SignatureLike): string {
signature = splitSignature(signature);

return hexlify(concat([
Expand Down

0 comments on commit 602e6a8

Please sign in to comment.