Commit 08e27168 authored by Sietse Ringers's avatar Sietse Ringers
Browse files

Swap irma_configuration and bigint params in irmameta tool

parent da1b964c
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment