bip151: minor arg fix.
This commit is contained in:
parent
eb9f35c8b4
commit
4af5273c0e
@ -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;
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user