Skip to content

Commit fafc0a8

Browse files
committed
Do not log transaction recipients, payment ids or descriptions
1 parent 17ccc04 commit fafc0a8

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

main.qml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -933,12 +933,9 @@ ApplicationWindow {
933933

934934
// called on "transfer"
935935
function handlePayment(recipients, paymentId, mixinCount, priority, description, createFile) {
936-
console.log("Creating transaction: ")
937-
console.log("\trecipients: ", recipients,
938-
", payment_id: ", paymentId,
939-
", mixins: ", mixinCount,
940-
", priority: ", priority,
941-
", description: ", description);
936+
// Do not log recipient addresses, payment ids or descriptions; they are
937+
// sensitive and would be readable by any process with access to the log.
938+
console.log("Creating transaction")
942939

943940
const recipientAll = recipients.find(function (recipient) {
944941
return recipient.amount == "(all)";

0 commit comments

Comments
 (0)