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 3ba17a1 commit 152eed5Copy full SHA for 152eed5
src/templates/pubkey/input.js
@@ -1,7 +1,6 @@
1
// {signature}
2
3
var bscript = require('../../script')
4
-var types = require('../../types')
5
var typeforce = require('typeforce')
6
7
function check (script) {
@@ -13,7 +12,7 @@ function check (script) {
13
12
check.toJSON = function () { return 'pubKey input' }
14
15
function encodeStack (signature) {
16
- typeforce(types.Buffer, signature)
+ typeforce(bscript.isCanonicalSignature, signature)
17
return [signature]
18
}
19
0 commit comments