We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb44dd5 commit 90b869bCopy full SHA for 90b869b
src/publickey.js
@@ -68,7 +68,7 @@ export class PublicKey {
68
return b;
69
}
70
71
- const zeroPad = new Buffer(32);
+ const zeroPad = Buffer.alloc(32);
72
b.copy(zeroPad);
73
return zeroPad;
74
0 commit comments