go-macaroon / js-macaroon

Javascript implementation of macaroons
BSD 3-Clause "New" or "Revised" License
41 stars 22 forks source link

test: do not use bytesToString on string #26

Closed rogpeppe closed 6 years ago

rogpeppe commented 6 years ago

The result of bytesToString called on a string is an empty array. This is definitely wrong, so don't do it.