Browse Source

server: Don't ignore errors while loading transaction inputs

prometheus-integration
Alexis Hernandez 6 years ago
parent
commit
e464080a76
  1. 2
      server/app/com/xsn/explorer/services/TransactionService.scala

2
server/app/com/xsn/explorer/services/TransactionService.scala

@ -80,7 +80,7 @@ class TransactionService @Inject() (
val newVIN = vin.copy(address = Some(transactionValue.address), value = Some(transactionValue.value)) val newVIN = vin.copy(address = Some(transactionValue.address), value = Some(transactionValue.value))
Good(newVIN) Good(newVIN)
case Bad(_) => Good(vin) case Bad(e) => Bad(e)
} }
} }

Loading…
Cancel
Save