Skip to content

Commit

Permalink
unexport more methods
Browse files Browse the repository at this point in the history
  • Loading branch information
poopoothegorilla committed Mar 7, 2024
1 parent d9b19c1 commit 80b5117
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions common/txmgr/address_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,8 @@ func (as *addressState[CHAIN_ID, ADDR, TX_HASH, BLOCK_HASH, R, SEQ, FEE]) moveCo
return nil
}

// Close releases all resources held by the address state.
func (as *addressState[CHAIN_ID, ADDR, TX_HASH, BLOCK_HASH, R, SEQ, FEE]) Close() {
// close releases all resources held by the address state.
func (as *addressState[CHAIN_ID, ADDR, TX_HASH, BLOCK_HASH, R, SEQ, FEE]) close() {
clear(as.idempotencyKeyToTx)

as.unstartedTxs.Close()
Expand All @@ -380,7 +380,7 @@ func (as *addressState[CHAIN_ID, ADDR, TX_HASH, BLOCK_HASH, R, SEQ, FEE]) Close(
as.fatalErroredTxs = nil
}

func (as *addressState[CHAIN_ID, ADDR, TX_HASH, BLOCK_HASH, R, SEQ, FEE]) Abandon() {
func (as *addressState[CHAIN_ID, ADDR, TX_HASH, BLOCK_HASH, R, SEQ, FEE]) abandon() {
as.Lock()
defer as.Unlock()

Expand Down

0 comments on commit 80b5117

Please sign in to comment.