mirror of
https://github.com/status-im/autobounty.git
synced 2025-02-27 12:30:42 +00:00
Added logging for successful tx
This commit is contained in:
parent
5f5728d28e
commit
22dc42c25c
@ -152,6 +152,7 @@ const sendTransaction = function (to, amount, gasPrice) {
|
||||
return new Promise((resolve, reject) => {
|
||||
wallet.sendTransaction(signedTransaction)
|
||||
.then(function(hash) {
|
||||
logTransaction(hash, config.sourceAddress, to, amount, gasPrice);
|
||||
resolve(hash);
|
||||
}).catch(function(err) {
|
||||
reject(err);
|
||||
|
Loading…
x
Reference in New Issue
Block a user