nonce parameter was getting clobbered by a local variable name

The Nonce that was being passed to the `noncesetter` was always `None` due to the check for the nonce reusing a variable name.