MCPcopy Create free account
hub / github.com/CovenantSQL/CovenantSQL / addWaitFlag

Function addWaitFlag

cmd/cql/internal/cfg.go:111–113  ·  view source on GitHub ↗
(cmd *Command)

Source from the content-addressed store, hash-verified

109}
110
111func addWaitFlag(cmd *Command) {
112 cmd.Flag.BoolVar(&waitTxConfirmation, "wait-tx-confirm", false, "Wait for transaction confirmation")
113}
114
115func wait(txHash hash.Hash) (err error) {
116 var ctx, cancel = context.WithTimeout(context.Background(), waitTxConfirmationMaxDuration)

Callers 5

initFunction · 0.85
initFunction · 0.85
initFunction · 0.85
initFunction · 0.85
initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected