File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -193,20 +193,20 @@ const validateKey = function(key, type) {
193
193
if ( process . config . verificationPub ) {
194
194
195
195
if ( ! key . signature ) {
196
- console . log ( ' Key ${key.pub} requires a signature and does not have one.' ) ;
196
+ console . log ( ` Key ${ key . pub } requires a signature and does not have one.` ) ;
197
197
return false ;
198
198
}
199
199
200
200
let validSig = false ;
201
201
try {
202
202
validSig = bitcoinMessage . verify ( key . pub , process . config . verificationPub , key . signature ) ;
203
203
} catch ( err ) {
204
- console . log ( ' There was an error when verifying key ${key.pub}: ' + err . message ) ;
204
+ console . log ( ` There was an error when verifying key ${ key . pub } : ` + err . message ) ;
205
205
return false ;
206
206
}
207
207
208
208
if ( ! validSig ) {
209
- console . log ( ' Invalid signature detected on key ${key.pub}' ) ;
209
+ console . log ( ` Invalid signature detected on key ${ key . pub } ` ) ;
210
210
return false ;
211
211
}
212
212
}
You can’t perform that action at this time.
0 commit comments