Close #9
This commit is contained in:
15
dm-cli/.vscode/launch.json
vendored
15
dm-cli/.vscode/launch.json
vendored
@@ -8,6 +8,8 @@
|
||||
// dm-cli --debug deal complete --positive 2MwPWCkWuqsigNu7YPrA5eStUUD6LvyHQTd
|
||||
// -m "feedback_message" -s "Hxhv4ewOOVGbydibNzdNxaWPDkFhDi0N3rdXtPVe5YtkfR2RECUG5KebcRCBmgN94t/NVYBOo/ft/FN1q6p42l8=" 2NAFmjLid526kjekoMiCm8nX5SxFCfk7jgC
|
||||
// curl --location 'https://testnet-dm.bitdeals.org/api/v1/deal/feedback?server=https%3A%2F%2Ftestnet.bitdeals.org'
|
||||
// --debug deal create -t prepayment -s mnumHs9HQMrw2Q1iKLNnx9NzExS7nMLmyp -c mraXx7JrmAmuKypdJ1vseQBXySsdRZE5AC -g 0.01
|
||||
|
||||
|
||||
|
||||
"version": "0.2.0",
|
||||
@@ -22,12 +24,15 @@
|
||||
"https://testnet-dm2.bitdeals.org",
|
||||
"--debug",
|
||||
"deal",
|
||||
"cancel",
|
||||
"-m",
|
||||
"message_text",
|
||||
"create",
|
||||
"-t",
|
||||
"prepayment",
|
||||
"-s",
|
||||
"HxcVlEuqV5G3FUW6Ter553DmtcxTT7DWBUtSO5mn+DS1MZzEwLcLwEYWXJSbtphHKYCQU3EZTkWPfBaOFA2kxhU=",
|
||||
"2Mzc3G6oKce8WHxSWF9eJ826swAGHD4Ftzi"
|
||||
"mnumHs9HQMrw2Q1iKLNnx9NzExS7nMLmyp",
|
||||
"-c",
|
||||
"mraXx7JrmAmuKypdJ1vseQBXySsdRZE5AC",
|
||||
"-g",
|
||||
"0.01"
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -302,7 +302,8 @@ int Deals::Create()
|
||||
string pay;
|
||||
|
||||
at = GetVal("-a", "--at");
|
||||
// if (at.length() == 0) at = "https://testnet-dm2.bitdeals.org";
|
||||
if (at.length() == 0)
|
||||
at = address;
|
||||
seller = GetVal("-s", "--seller");
|
||||
customer = GetVal("-c", "--customer");
|
||||
type = GetVal("-t", "--type");
|
||||
|
||||
BIN
dm-cli/dm-cli
BIN
dm-cli/dm-cli
Binary file not shown.
Reference in New Issue
Block a user