clean some build warnings (#1288)
* clean some build warnings * undo the warning suppress for aggsig
This commit is contained in:
@@ -1023,11 +1023,11 @@ impl<'a> Extension<'a> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
// Special handling to make sure the whole kernel set matches each of its
|
||||
// roots in each block header, without truncation. We go back header by
|
||||
// header, rewind and check each root. This fixes a potential weakness in
|
||||
// fast sync where a reorg past the horizon could allow a whole rewrite of
|
||||
// the kernel set.
|
||||
/// Special handling to make sure the whole kernel set matches each of its
|
||||
/// roots in each block header, without truncation. We go back header by
|
||||
/// header, rewind and check each root. This fixes a potential weakness in
|
||||
/// fast sync where a reorg past the horizon could allow a whole rewrite of
|
||||
/// the kernel set.
|
||||
pub fn validate_kernel_history(&mut self, header: &BlockHeader) -> Result<(), Error> {
|
||||
assert!(self.rollback, "verified kernel history on writeable txhashset extension");
|
||||
|
||||
|
||||
@@ -173,7 +173,7 @@ impl WalletClient for HTTPWalletClient {
|
||||
Ok(outputs) => for out in outputs {
|
||||
api_outputs.insert(out.commit.commit(), util::to_hex(out.commit.to_vec()));
|
||||
},
|
||||
Err(e) => {
|
||||
Err(_) => {
|
||||
// if we got anything other than 200 back from server, don't attempt to refresh
|
||||
// the wallet data after
|
||||
return Err(libwallet::ErrorKind::ClientCallback("Error from server"))?;
|
||||
|
||||
Reference in New Issue
Block a user