mirror of
https://github.com/LBRYFoundation/lbcwallet.git
synced 2025-08-27 07:23:25 +00:00
Buffer another result channel.
This commit is contained in:
parent
807379661c
commit
44fbd30e22
1 changed files with 1 additions and 1 deletions
|
@ -1093,7 +1093,7 @@ func (s *Store) unspentOutputs() ([]Credit, error) {
|
||||||
creditChans := make([]chan createdCredit, len(s.unspent))
|
creditChans := make([]chan createdCredit, len(s.unspent))
|
||||||
i := 0
|
i := 0
|
||||||
for op, key := range s.unspent {
|
for op, key := range s.unspent {
|
||||||
creditChans[i] = make(chan createdCredit)
|
creditChans[i] = make(chan createdCredit, 1)
|
||||||
go func(i int, key BlockTxKey, opIndex uint32) {
|
go func(i int, key BlockTxKey, opIndex uint32) {
|
||||||
r, err := s.lookupBlockTx(key)
|
r, err := s.lookupBlockTx(key)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Add table
Reference in a new issue