Skip to content
This repository was archived by the owner on Nov 9, 2019. It is now read-only.

Commit 82fa9ff

Browse files
committed
Fixed send transactions showing as receive.
1 parent 1c0f8a6 commit 82fa9ff

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/grcWebClient.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class GrcWebClient {
104104
if (Number.isNaN(amount) || Number.isNaN(from)) throw Boom.badRequest();
105105

106106
const transactions = await this.request('listtransactions', [
107-
'', amount, from,
107+
'', amount, from, true,
108108
]);
109109

110110
const blocks = await Promise.all(transactions.result.filter(e => e.generated).map(e => (
@@ -131,7 +131,7 @@ class GrcWebClient {
131131
this.request('getmininginfo'),
132132
this.request('getnetworkinfo'),
133133
this.request('getnettotals'),
134-
this.request('listtransactions', ['', 10], 30 * 1000),
134+
this.request('listtransactions', ['', 10], 30 * 1000, true),
135135
]);
136136

137137
const blocks = await Promise.all(recent.result.filter(e => e.generated).map(e => (

0 commit comments

Comments
 (0)