Open zhfnjust opened 2 years ago
should be
contract Coin {
@state
public PubKeyHash minter;
@state
public HashedMap<PubKeyHash, int> balances;
constructor(PubKeyHash minter, HashedMap<PubKeyHash, int> balances) {
this.minter = minter;
this.balances = balances;
}
but got
contract Coin {
@state
public PubKeyHash minter;
@state
public HashedMap<PubKeyHash, int> balances;
constructor(PubKeyHash msgSender) {
this.minter = msgSender;
}