File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,7 @@ class BlindingWrapper : public Napi::ObjectWrap<BlindingWrapper> {
18
18
19
19
public:
20
20
BlindingWrapper (const Napi::CallbackInfo& info) : Napi::ObjectWrap<BlindingWrapper>{info} {
21
- throw std::invalid_argument (
22
- " BlindingWrapper is static and doesn't need to be constructed" );
21
+ throw std::invalid_argument (" BlindingWrapper is static and doesn't need to be constructed" );
23
22
}
24
23
25
24
static void Init (Napi::Env env, Napi::Object exports) {
@@ -79,11 +78,13 @@ class BlindingWrapper : public Napi::ObjectWrap<BlindingWrapper> {
79
78
if (obj.IsEmpty ())
80
79
throw std::invalid_argument (" blindVersionSignRequest received empty" );
81
80
82
- assertIsUInt8Array (obj.Get (" ed25519SecretKey" ));
81
+ assertIsUInt8Array (
82
+ obj.Get (" ed25519SecretKey" ), " blindVersionSignRequest.ed25519SecretKey" );
83
83
auto ed25519_secret_key = toCppBuffer (
84
84
obj.Get (" ed25519SecretKey" ), " blindVersionSignRequest.ed25519SecretKey" );
85
85
86
- assertIsNumber (obj.Get (" sigTimestampSeconds" ));
86
+ assertIsNumber (
87
+ obj.Get (" sigTimestampSeconds" ), " blindVersionSignRequest.sigTimestampSeconds" );
87
88
auto sig_timestamp = toCppInteger (
88
89
obj.Get (" sigTimestampSeconds" ),
89
90
" blindVersionSignRequest.sigTimestampSeconds" ,
You can’t perform that action at this time.
0 commit comments