diff options
author | login <login@tilde.team> | 2022-01-26 17:09:27 +0000 |
---|---|---|
committer | login <login@tilde.team> | 2022-01-26 17:09:27 +0000 |
commit | 4fad62d818c8161ed661f9cf5d758787e839aabd (patch) | |
tree | 725192eb715a9e745ba446c5638e656045a1f5db | |
parent | c616b71eb152b5315b1f689e5f7c3c61666a00f0 (diff) | |
download | tcoin-4fad62d818c8161ed661f9cf5d758787e839aabd.tar.gz |
Fix to pcoin's silentsend
Thanks to ~jmjl, found a bug where pcoin's silentsend was sending the wrong message even though the send itself was correct.
-rw-r--r-- | pcoin.cpp | 2 |
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; |