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

Function deleteProvider

blockproducer/storage.go:397–405  ·  view source on GitHub ↗
(address proto.AccountAddress)

Source from the content-addressed store, hash-verified

395}
396
397func deleteProvider(address proto.AccountAddress) storageProcedure {
398 return func(tx *sql.Tx) (err error) {
399 log.WithFields(log.Fields{
400 "provider_address": address.String(),
401 }).Debug("deleting provider")
402 _, err = tx.Exec(`DELETE FROM "provider" WHERE "address"=?`, address.String())
403 return
404 }
405}
406
407func loadIrreHash(st xi.Storage) (irre hash.Hash, err error) {
408 var hex string

Callers 1

compileChangesMethod · 0.85

Calls 4

WithFieldsFunction · 0.92
DebugMethod · 0.80
ExecMethod · 0.65
StringMethod · 0.45

Tested by

no test coverage detected