Skip to content
Snippets Groups Projects
Commit a6e2e4e1 authored by djq2's avatar djq2
Browse files

Fin

parent c40c3db2
No related branches found
No related tags found
No related merge requests found
......@@ -187,7 +187,7 @@ func (host *Server) Print_Accs() {
func (host *Server) Release(account string, commit bool) bool {
val, ok := host.AccountData.Load(account)
acc := val.(*Account)
fmt.Println(account, " = ", acc.Balance)
// fmt.Println(account, " = ", acc.Balance)
if ok {
// Change commit status if necessary
if commit {
......@@ -233,7 +233,7 @@ func (host *Server) client_listen() {
var data_in Client_msg
decoder := gob.NewDecoder(*host.Client)
err := decoder.Decode(&data_in)
fmt.Println(err)
// fmt.Println(err)
if err != nil {
// fmt.Print("Failed read from client: ")
if err == io.EOF {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment