MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / SetTxConfirmed

Function SetTxConfirmed

cmd/cql-eth-exchange/tx_record.go:248–252  ·  view source on GitHub ↗

SetTxConfirmed update the transaction to confirmed state.

(db *gorp.DbMap, r *TxRecord)

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 1

UpdateMethod · 0.65

Tested by

no test coverage detected