Skip to content

Commit

Permalink
Use utils.toBuffer instead of BN.toBuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
yann300 committed Mar 5, 2019
1 parent ea0e29e commit 6192663
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vm/opFns.js
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ module.exports = {
var options = {
value: value,
data: data,
salt: salt.toBuffer('be', 32)
salt: salt.toArrayLike(Buffer, 'be', 32)
}

var localOpts = {
Expand Down

0 comments on commit 6192663

Please sign in to comment.