Remove send address check
* Remove send address check
Given that send() can be called by any address, we shouldn't check whether it's being called by the contract creator.
* Added requested changes
@@ -92,7 +92,6 @@ impl Token for Contract {
let sender: Result<Identity, AuthError> = msg_sender();
let sender: Address = match sender.unwrap() {
Identity::Address(addr) => {
- assert(addr == ~Address::from(MINTER));
addr
},
_ => {
