// WriteJSON is a wrapper around Conn:WriteJSON
WriteJSON is a wrapper around Conn:WriteJSON
// WriteJSON is a wrapper around Conn : WriteJSON
func (c *BlocknativeClient) writeJSON(msg interface{}) error {
	c.mtx.Lock()
	defer c.mtx.Unlock()
	return c.conn.WriteJSON(msg)
}
func ( c * BlocknativeClient ) writeJSON ( msg interface { } ) error { c . mtx . Lock ( ) defer c . mtx . Unlock ( ) return c . conn . WriteJSON ( msg ) }
WriteJSON is a wrapper around Conn:WriteJSON
WriteJSON is a wrapper around Conn : WriteJSON