Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pls-pnv
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
plaasio
pls-pnv
Commits
8131c6b8
Commit
8131c6b8
authored
Feb 06, 2020
by
plaasio
👷🏽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update pnv.js
parent
cf82cecb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
pnv.js
pnv.js
+11
-8
No files found.
pnv.js
View file @
8131c6b8
...
...
@@ -181,14 +181,15 @@ var provider = new SignerProvider(ethHost, {
}
try
{
getPySrc
(
'lcd.py'
,
[
'ADD VALIDATOR'
,
'scan keys..'
]);
//var read = await getPySrc('rd-rfid.py', []);
//var write = await getPySrc('wt-rfid.py', ['value1', 'value2', 'value3']);
var
action
=
await
new
Promise
.
race
([
getPySrc
(
'rd-rfid.py'
,
[])]);
new
Promise
.
race
([
getPySrc
(
'rd-rfid.py'
,
[])]).
then
(
function
(
action
){
try
{
vAddressPublic
=
parse
(
action
).
pub
;
...
...
@@ -207,9 +208,11 @@ getPySrc('lcd.py', ['VALIDATOR ADDED', 'testing..']);
}
init
();
}
catch
(
e
){
init
();
}).
catch
(
function
(
er
){
getPySrc
(
'lcd.py'
,
[
'error!'
,
e
]);
}
getPySrc
(
'lcd.py'
,
[
'error!'
,
er
]);
});
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