Skip to content
Snippets Groups Projects

Hotfix 15034

Merged daniil.frolov requested to merge hotfix-15034 into main
+ 3
3
@@ -44,7 +44,7 @@
static struct option const options[] =
{
{"wallet", required_argument, 0, 'w'},
{"passwd", required_argument, 0, 'p'},
{"password", required_argument, 0, 'p'},
{"filename", required_argument, 0, 'f'},
{"out", required_argument, 0, 'o'},
{"create", no_argument, 0, 'c'},
@@ -67,7 +67,7 @@ void bad_option(){
"Signs the datum passed to the input by specified wallet and send its items in json-format.\n\r"
"Datum sign options:\n\r"
"\t-w, --wallet specifies path to wallet for datum sign or wallet name\n\r"
"\t-p, --passwd specifies walled password if needed\n\r"
"\t-p, --password specifies walled password if needed\n\r"
"\t-f, --filename specifies input json-file wits datum items. If not specified, it will be received from stdin\n\r"
"\t-o, --out specifies output json-file. If not specified, it will be send into stdout\n\r"
"\t-b, --beauty enables output JSON beautification\n\r"
@@ -325,7 +325,7 @@ int main(int argc, char **argv)
dap_chain_wallet_t *l_wallet = dap_chain_wallet_open_file(l_wallet_path, l_pwd, NULL);
if(!l_wallet) {
dap_chain_datum_tx_delete(l_tx);
printf("Can't open wallet\n\r");
printf("Can't open wallet %s\n\r", l_wallet_path);
DAP_DELETE(l_input_data);
return -1;
}
Loading