From 4af5273c0eb0f5fb5c9cfe68e4fe13afb005e410 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Mon, 25 Jul 2016 23:13:06 -0700 Subject: [PATCH] bip151: minor arg fix. --- lib/bcoin/bip151.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/bcoin/bip151.js b/lib/bcoin/bip151.js index 54f4e798..91a81675 100644 --- a/lib/bcoin/bip151.js +++ b/lib/bcoin/bip151.js @@ -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; };