Fix ineffassign errors
parent
3d9954bf79
commit
fc25200ff8
|
@ -335,7 +335,7 @@ func (w *Worker) GetTransactionFromMempoolTx(mempoolTx *bchain.MempoolTx) (*Tx,
|
|||
if bchainVin.Txid != "" {
|
||||
vin.ValueSat = (*Amount)(&bchainVin.ValueSat)
|
||||
vin.AddrDesc = bchainVin.AddrDesc
|
||||
vin.Addresses, vin.IsAddress, err = w.chainParser.GetAddressesFromAddrDesc(vin.AddrDesc)
|
||||
vin.Addresses, vin.IsAddress, _ = w.chainParser.GetAddressesFromAddrDesc(vin.AddrDesc)
|
||||
if vin.ValueSat != nil {
|
||||
valInSat.Add(&valInSat, (*big.Int)(vin.ValueSat))
|
||||
}
|
||||
|
|
|
@ -89,8 +89,9 @@ func (mq *MQ) run(callback func(NotificationType)) {
|
|||
}
|
||||
repeatedError = true
|
||||
time.Sleep(100 * time.Millisecond)
|
||||
} else {
|
||||
repeatedError = false
|
||||
}
|
||||
repeatedError = false
|
||||
if msg != nil && len(msg) >= 3 {
|
||||
var nt NotificationType
|
||||
switch string(msg[0]) {
|
||||
|
|
Loading…
Reference in New Issue