nonce parameter was getting clobbered by a local variable name
Merge pull request #50 from Ryan-K/dont_clobber_nonce

nonce parameter was getting clobbered by a local variable name