bip151: minor arg fix.

This commit is contained in:
Christopher Jeffrey 2016-07-25 23:13:06 -07:00
parent eb9f35c8b4
commit 4af5273c0e
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -140,8 +140,8 @@ BIP151Stream.prototype.decrypt = function decrypt(data) {
return this.aead.decrypt(data);
};
BIP151Stream.prototype.finish = function finish(data) {
this.tag = this.aead.finish(data);
BIP151Stream.prototype.finish = function finish() {
this.tag = this.aead.finish();
return this.tag;
};