SetTxConfirmed update the transaction to confirmed state.
(db *gorp.DbMap, r *TxRecord)
| 246 | |
| 247 | // SetTxConfirmed update the transaction to confirmed state. |
| 248 | func SetTxConfirmed(db *gorp.DbMap, r *TxRecord) (err error) { |
| 249 | r.State = ExchangeStateTransferred |
| 250 | _, err = db.Update(r) |
| 251 | return |
| 252 | } |
no test coverage detected