Commit b7df495f authored by linj's avatar linj

fix

parent 35040615
...@@ -531,7 +531,7 @@ func (action *tokenAction) mint(mint *pty.TokenMint) (*types.Receipt, error) { ...@@ -531,7 +531,7 @@ func (action *tokenAction) mint(mint *pty.TokenMint) (*types.Receipt, error) {
return nil, err return nil, err
} }
tokenlog.Debug("mint", "token.Owner", mint.Symbol, "token.GetTotal()", mint.Amount) tokenlog.Debug("mint", "token.Owner", mint.Symbol, "token.GetTotal()", mint.Amount)
receipt, err := tokenAccount.GenesisInit(mint.Symbol, mint.Amount) // TODO 更新 chain33 支持 account mint receipt, err := tokenAccount.Mint(action.fromaddr, mint.Amount)
if err != nil { if err != nil {
return nil, err return nil, err
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment