Skip to content

Commit

Permalink
revert dropped capacity for the redemption result chan
Browse files Browse the repository at this point in the history
  • Loading branch information
buck54321 authored and chappjc committed Sep 29, 2021
1 parent c1992d8 commit 59c693a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/asset/btc/btc.go
Original file line number Diff line number Diff line change
Expand Up @@ -1790,7 +1790,7 @@ func (btc *ExchangeWallet) FindRedemption(ctx context.Context, coinID dex.Bytes)
outPt: outPt,
blockHash: blockHash,
blockHeight: blockHeight,
resultChan: make(chan *findRedemptionResult),
resultChan: make(chan *findRedemptionResult, 1),
pkScript: pkScript,
contractHash: dexbtc.ExtractScriptHash(pkScript),
}
Expand Down

0 comments on commit 59c693a

Please sign in to comment.