Skip to content

Commit

Permalink
Fix typing error.
Browse files Browse the repository at this point in the history
  • Loading branch information
ARyaskov committed Mar 6, 2019
1 parent 2d906f6 commit d71c016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/script/witness.js
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ class Witness extends Stack {
bw.writeVarint(this.items.length);

for (const item of this.items)
bw.writeVarBytes(item);
bw.writeVarBytes(Buffer.from(item));

return bw;
}
Expand Down

0 comments on commit d71c016

Please sign in to comment.