New Paste

 

Recent Pastes

Administrate




Pastebin on paste.luisaranguren.com

PasteID: 3gv
Pasted by Anonymous, 2018-09-12 01:23:27 GMT
Expires Never
Paste size 1.05 Kb
Tools Raw   Download
 
  1. diff -ura ../src.org/lnd-git/utxonursery.go lnd-git/utxonursery.go  
  2. --- ../src.org/lnd-git/utxonursery.go	2018-09-12 10:47:26.668651885 +1000  
  3. +++ lnd-git/utxonursery.go	2018-09-12 11:23:03.004451741 +1000  
  4. @@ -677,7 +677,7 @@  
  5.  		if err = u.regraduateClass(classHeight); err != nil {  
  6.  			utxnLog.Errorf("Failed to regraduate outputs at "+  
  7.  				"height=%v: %v", classHeight, err)  
  8. -			return err  
  9. +			continue  
  10.  		}  
  11.  	}  
  12.    
  13. @@ -706,7 +706,6 @@  
  14.  		if err := u.graduateClass(curHeight); err != nil {  
  15.  			utxnLog.Errorf("Failed to graduate outputs at "+  
  16.  				"height=%v: %v", curHeight, err)  
  17. -			return err  
  18.  		}  
  19.  	}  
  20.    
  21. @@ -858,7 +857,7 @@  
  22.  			if err != nil {  
  23.  				utxnLog.Errorf("Failed to create sweep txn at "+  
  24.  					"height=%d", classHeight)  
  25. -				return err  
  26. +				continue  
  27.  			}  
  28.  		}  
  29.    
  30. @@ -1022,7 +1021,7 @@  
  31.  	}  
  32.    
  33.  	// Using the txn weight estimate, compute the required txn fee.  
  34. -	feePerKw, err := u.cfg.Estimator.EstimateFeePerKW(6)  
  35. +	feePerKw, err := u.cfg.Estimator.EstimateFeePerKW(60)  
  36.  	if err != nil {  
  37.  		return nil, err  
  38.  	}  
  39.  
 
 
 
 
Written by Xan Manning, 2010.