Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sgxwallet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董子豪
sgxwallet
Commits
0ee1256d
Unverified
Commit
0ee1256d
authored
Sep 04, 2020
by
kladko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SKALE-3228
parent
b4a5fc32
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
testw.cpp
testw.cpp
+7
-1
No files found.
testw.cpp
View file @
0ee1256d
...
...
@@ -733,6 +733,9 @@ TEST_CASE_METHOD(TestFixture, "First run", "[first-run]") {
try
{
PRINT_SRC_LINE
auto
keyName
=
genECDSAKeyAPI
(
c
);
ofstream
namefile
(
"/tmp/keyname"
);
namefile
<<
keyName
;
PRINT_SRC_LINE
}
catch
(
JsonRpcException
&
e
)
{
...
...
@@ -749,7 +752,10 @@ TEST_CASE_METHOD(TestFixtureNoReset, "Second run", "[second-run]") {
StubClient
c
(
client
,
JSONRPC_CLIENT_V2
);
try
{
PRINT_SRC_LINE
string
keyName
=
"haha"
;
string
keyName
;
ifstream
namefile
(
"/tmp/keyname"
);
getline
(
namefile
,
keyName
);
Json
::
Value
sig
=
c
.
ecdsaSignMessageHash
(
16
,
keyName
,
SAMPLE_HASH
);
REQUIRE
(
sig
[
"status"
].
asInt
()
==
0
);
Json
::
Value
getPubKey
=
c
.
getPublicECDSAKey
(
keyName
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment