Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IRMA
Github mirrors
irmago
Commits
08e27168
Commit
08e27168
authored
Apr 26, 2018
by
Sietse Ringers
Browse files
Swap irma_configuration and bigint params in irmameta tool
parent
da1b964c
Changes
1
Hide whitespace changes
Inline
Side-by-side
irmameta/irmameta.go
View file @
08e27168
...
...
@@ -18,13 +18,13 @@ func main() {
fmt
.
Println
(
"Usage: irmago metadata_attribute_in_decimal path_to_irma_configuration"
)
}
metaint
,
ok
:=
new
(
big
.
Int
)
.
SetString
(
os
.
Args
[
1
],
10
)
metaint
,
ok
:=
new
(
big
.
Int
)
.
SetString
(
os
.
Args
[
2
],
10
)
if
!
ok
{
fmt
.
Println
(
"Could not parse argument as decimal integer:"
)
os
.
Exit
(
1
)
}
confpath
:=
os
.
Args
[
2
]
confpath
:=
os
.
Args
[
1
]
conf
,
err
:=
irma
.
NewConfiguration
(
confpath
,
""
)
if
err
!=
nil
{
fmt
.
Println
(
"Failed to parse irma_configuration:"
,
err
)
...
...
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