fixed mispring

This commit is contained in:
crypro.zoidberg 2019-04-15 01:50:16 +02:00
parent cea1c68948
commit df225a70b2

View file

@ -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.");