Update exchange.go

fix bug