AschPlatform / asch-js

Asch frontend library
18 stars 15 forks source link

Replace Buffer constructor #22

Open gabrielschulhof opened 6 years ago

gabrielschulhof commented 6 years ago

The new Buffer(...) constructor is used in a a few places in the code, but it is unsafe and deprecated. Can it be replaced with Buffer.from(...)?

a1300 commented 6 years ago

@liangpeili could you assign this issue to me?