about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--pcoin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcoin.cpp b/pcoin.cpp
index 500f068..d4d1137 100644
--- a/pcoin.cpp
+++ b/pcoin.cpp
@@ -2179,7 +2179,7 @@ int main(int argc, char *argv[])
       }
       return_value = send(get_username().c_str(), receiver, amount, base_amount, "silent");
       if(!return_value) //send was successful
-        send_message(get_username().c_str(), argv[3], argv[4], strtol100(argv[2]), "silent");
+        send_message(get_username().c_str(), receiver, argv[4], amount, "silent");
     }
     else
       return ERR_SILENTSEND;