diff --git a/app/process/watcher/transfer/watcher.go b/app/process/watcher/transfer/watcher.go index 0965c9d05..2b9a3ceb3 100644 --- a/app/process/watcher/transfer/watcher.go +++ b/app/process/watcher/transfer/watcher.go @@ -132,7 +132,7 @@ func (ctw Watcher) beginWatching(q qi.Queue) { for { transactions, e := ctw.client.GetAccountCreditTransactionsAfterTimestamp(ctw.accountID, milestoneTimestamp) if e != nil { - ctw.logger.Errorf("Suddenly stopped monitoring account - [%s]", e) + ctw.logger.Errorf("Suddenly stopped monitoring account. Error: [%s]", e) go ctw.beginWatching(q) return } diff --git a/app/services/transfers/service.go b/app/services/transfers/service.go index 83624fa28..686dc9bef 100644 --- a/app/services/transfers/service.go +++ b/app/services/transfers/service.go @@ -403,8 +403,9 @@ func (ts *Service) scheduledTxExecutionCallbacks(transferID, feeAmount string) ( return } err = ts.feeRepository.Create(&entity.Fee{ - Amount: feeAmount, - Status: status.Failed, + TransactionID: transactionID, + Amount: feeAmount, + Status: status.Failed, TransferID: sql.NullString{ String: transferID, Valid: true,