Skip to content

Commit

Permalink
Merge pull request #1279 from LiskHQ/1275-unhandled-timestamp-error
Browse files Browse the repository at this point in the history
Unhandled timestamp error - Closes #1275
  • Loading branch information
michaeltomasik committed Oct 11, 2018
2 parents 98668e7 + a04c15a commit 8339e6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/api/transactions.js
Expand Up @@ -10,13 +10,13 @@ export const send = (
data,
timeOffset,
) =>
new Promise((resolve) => {
new Promise((resolve, reject) => {
const transaction = Lisk.transaction.transfer({
recipientId, amount, passphrase, secondPassphrase, data, timeOffset,
});
activePeer.transactions.broadcast(transaction).then(() => {
resolve(transaction);
});
}).catch(reject);
});

export const getTransactions = ({
Expand Down

0 comments on commit 8339e6c

Please sign in to comment.