From 23fa7f40f1cbc94238f836876a31480a4a23b785 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 8 Aug 2020 22:35:24 -0700 Subject: track outgoing bitcoin payments --- routes/bitcoin/send.js | 1 + 1 file changed, 1 insertion(+) (limited to 'routes') diff --git a/routes/bitcoin/send.js b/routes/bitcoin/send.js index 1ce1da54..744f8f29 100644 --- a/routes/bitcoin/send.js +++ b/routes/bitcoin/send.js @@ -87,6 +87,7 @@ module.exports = ah(async (req, res) => { emit(user.username, "payment", payment); res.send(payment); + payments.push(params.hash); l.info("sent bitcoin", user.username, total); } catch (e) { l.error("error sending bitcoin", e.message); -- cgit v1.2.3 >index : coinosv3.git
coinos v3 — bitcoin, Ark, Lightning and nostr wallet (web + Android)coinos
aboutsummaryrefslogtreecommitdiffstats
path: root/tools/identity-test.js
blob: 179d6406c9176fa4e28cab6727016833acdb25c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89