Listen to remote nonce
Nonce desync is real and it's more important to get back into sync
than try and get ahead of it.
@@ -161,11 +161,7 @@ fn update_nonce(our_address: Address, web3: &Web3) {
Ok(value) => {
trace!("Got response from nonce request {:?}", value);
let mut payment_settings = SETTING.get_payment_mut();
- // if we increased our nonce locally we're probably
- // right and should ignore the full node telling us otherwise
- if payment_settings.nonce < value {
payment_settings.nonce = value;
- }
Ok(())
}
Err(e) => {
