This commit is contained in:
Peter Rounce 2023-09-16 12:27:02 +01:00
parent 2da9275c9a
commit 3a1262db82
2 changed files with 44 additions and 44 deletions

BIN
cli/cli

Binary file not shown.

View file

@ -1,10 +1,10 @@
package main package main
import ( import (
"os"
"fmt"
"encoding/hex" "encoding/hex"
"fmt"
"github.com/boltcard/boltcard/crypto" "github.com/boltcard/boltcard/crypto"
"os"
) )
// inspired by parse_request() in lnurlw_request.go // inspired by parse_request() in lnurlw_request.go
@ -45,7 +45,7 @@ func main() {
args := os.Args[1:] args := os.Args[1:]
if(len(args) != 4) { if len(args) != 4 {
fmt.Println("error: should have arguments for: p c aes_decrypt_key aes_cmac_key") fmt.Println("error: should have arguments for: p c aes_decrypt_key aes_cmac_key")
os.Exit(1) os.Exit(1)
} }