fixed mispring
This commit is contained in:
parent
cea1c68948
commit
df225a70b2
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ void get_pow_hash(const Nan::FunctionCallbackInfo<v8::Value>& args) {
|
|||
if(!Buffer::HasInstance(nonce))
|
||||
return THROW_ERROR_EXCEPTION("Argument 2 should be a buffer object.");
|
||||
|
||||
if (!Buffer::HasInstance(nonce))
|
||||
if (!Buffer::HasInstance(height))
|
||||
return THROW_ERROR_EXCEPTION("Argument 3 should be a buffer object.");
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue