Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Added a debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed May 3, 2022
1 parent f8e54aa commit ff965d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions model_draft_transactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ func (m *DraftTransaction) GetModelTableName() string {
func (m *DraftTransaction) Save(ctx context.Context) (err error) {
if err = Save(ctx, m); err != nil {

m.DebugLog("save tx error: " + err.Error())

// todo: run in a go routine?
// un-reserve the utxos
if utxoErr := unReserveUtxos(
Expand Down

0 comments on commit ff965d6

Please sign in to comment.