Can I have a modifier that enforces the amount sent by a user in a call to a function, and if it is below a certain amount, throw? I want to do something like the following:
uint256 n;
// Set some amount n in the constructor...
modifier checkAmount() payable {
if(msg.value < n) throw;
_;
}