Skip to content

Commit

Permalink
use push method directly
Browse files Browse the repository at this point in the history
  • Loading branch information
chadlagore committed Aug 12, 2017
1 parent 19ddb85 commit 284cd0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (a *App) Pay(to string, amount uint64) error {
a.CurrentUser.Wallet.SetPending(txn)

// 3. The transaction must be added to the pool.
a.HandleTransaction(txn)
a.Pool.Push(txn, a.Chain)
} else {
return err
}
Expand Down

0 comments on commit 284cd0f

Please sign in to comment.