summaryrefslogtreecommitdiff
path: root/ext/node
diff options
context:
space:
mode:
Diffstat (limited to 'ext/node')
-rw-r--r--ext/node/polyfills/internal/crypto/hash.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/node/polyfills/internal/crypto/hash.ts b/ext/node/polyfills/internal/crypto/hash.ts
index 00dfa19af..34e3c1230 100644
--- a/ext/node/polyfills/internal/crypto/hash.ts
+++ b/ext/node/polyfills/internal/crypto/hash.ts
@@ -66,7 +66,7 @@ export class Hash extends Transform {
callback();
},
flush(callback: () => void) {
- this.push(context.digest(undefined));
+ this.push(this.digest(undefined));
callback();
},
});